Function at 0xffa070
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x12288b4]
sub esp, 0xc
push 0xffff
push 0x1229bd8
push eax
call dword [0x1228f8c]
xor eax, eax
cmp byte [0x101d014], al
je 0xffa0a0
inc eax
cmp byte [eax + 0x101d014], 0
jne 0xffa096
push esi
inc eax
call fcn.00ff2840
mov esi, eax
test esi, esi
je 0xffa0b9
push 0x101d014
push esi
call dword [fcn.01229134]
push ebx
push edi
push 0x1229bd8
call dword [fcn.01228fac]
mov ebx, eax
test esi, esi
je 0xffa0d3
mov eax, esi
call fcn.00ff2930
lea eax, [ebx + 1]
call fcn.00ff2840
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0xffa0f0
push 0x1229bd8
push edi
call dword [fcn.01229134]
push 0x1025214
call dword [fcn.01228fac]
lea esi, [ebx + eax]
lea eax, [esi + 1]
call fcn.00ff2840
mov ebx, eax
test ebx, ebx
je 0xffa124
test edi, edi
je 0xffa124
push edi
push ebx
call dword [fcn.01229134]
push 0x1025214
push ebx
call dword [fcn.0122909c]
mov ecx, dword [ebp + 0x10]
lea edi, [ecx + esi + 1]
mov eax, edi
call fcn.00ff2840
mov esi, eax
test esi, esi
je 0xffa155
test ebx, ebx
je 0xffa155
cmp dword [ebp + 8], 0
je 0xffa155
push ebx
push esi
call dword [fcn.01229134]
mov edx, dword [ebp + 8]
push edx
push esi
call dword [fcn.0122909c]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0xffa161
call fcn.00ff2930
mov eax, edi
call fcn.00ff2840
mov edi, eax
test edi, edi
je 0xffa17a
test esi, esi
je 0xffa17a
push esi
push edi
call dword [fcn.01229134]
mov eax, esi
call fcn.00ff2930
mov eax, ebx
call fcn.00ff2930
mov eax, dword [0x12288b4]
push edi
push eax
call dword [0x1228f44]
mov eax, edi
call fcn.00ff2930
mov ecx, dword [0x1228d78]
push ecx
call dword [fcn.01228f30]
mov esi, eax
mov dword [0x1228ea8], esi
test esi, esi
je 0xffa33c
movzx edi, word [esi]
mov edx, 0x5a4d
cmp di, dx
jne 0xffa1f5
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0xffa1f5
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0xffa1f5
mov edx, dword [0x1228a90]
mov eax, dword [eax + esi + 0x78]
push edx
push esi
push eax
call fcn.00ff7510
add esp, 0xc
jmp 0xffa1f7
xor eax, eax
mov ecx, 0x5a4d
mov dword [0x1228ea0], eax
cmp di, cx
jne 0xffa235
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0xffa235
mov edx, 0x10b
cmp word [eax + esi + 0x18], dx
jne 0xffa235
mov ecx, dword [0x1228d20]
mov edx, dword [eax + esi + 0x78]
push ecx
push esi
push edx
call fcn.00ff7510
add esp, 0xc
jmp 0xffa237
xor eax, eax
mov dword [0x1228eb8], eax
mov eax, 0x5a4d
cmp di, ax
jne 0xffa275
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0xffa275
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0xffa275
mov edx, dword [0x12289e4]
mov eax, dword [eax + esi + 0x78]
push edx
push esi
push eax
call fcn.00ff7510
add esp, 0xc
jmp 0xffa277
xor eax, eax
mov ecx, 0x5a4d
mov dword [fcn.01228e70], eax
cmp di, cx
jne 0xffa2b5
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0xffa2b5
mov edx, 0x10b
cmp word [eax + esi + 0x18], dx
jne 0xffa2b5
mov ecx, dword [0x1228984]
mov edx, dword [eax + esi + 0x78]
push ecx
push esi
push edx
call fcn.00ff7510
add esp, 0xc
jmp 0xffa2b7
xor eax, eax
mov dword [fcn.01228e98], eax
mov eax, 0x5a4d
cmp di, ax
jne 0xffa2f5
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0xffa2f5
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0xffa2f5
mov edx, dword [0x1228e20]
mov eax, dword [eax + esi + 0x78]
push edx
push esi
push eax
call fcn.00ff7510
add esp, 0xc
jmp 0xffa2f7
xor eax, eax
mov ecx, 0x5a4d
mov dword [fcn.01228eac], eax
cmp di, cx
jne 0xffa335
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0xffa335
mov edx, 0x10b
cmp word [eax + esi + 0x18], dx
jne 0xffa335
mov ecx, dword [0x1228b10]
mov edx, dword [eax + esi + 0x78]
push ecx
push esi
push edx
call fcn.00ff7510
add esp, 0xc
jmp 0xffa337
xor eax, eax
mov dword [fcn.01228e90], eax
cmp dword [0x1228ea0], 0
pop edi
pop ebx
je 0xffa388
cmp dword [0x1228eb8], 0
je 0xffa388
cmp dword [fcn.01228e70], 0
je 0xffa388
cmp dword [fcn.01228eac], 0
je 0xffa388
cmp dword [fcn.01228e90], 0
je 0xffa388
cmp dword [fcn.01228e98], 0
je 0xffa388
mov eax, dword [ebp + 8]
mov esi, 1
call fcn.00ff2930
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor esi, esi
call fcn.00ff2930
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret