Function at 0x4225b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 0x60], ecx
push esi
push edi
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x4c], ebx
mov esi, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004336f0
lea edx, [esp + 0x84]
mov dword [esp + 0x54], 0x4078d0
mov ecx, 0xb2
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.00438287
lea edx, [esp + 0xac]
mov ecx, 0xb3
call fcn.00438287
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x58]
call fcn.0041bc89
test al, al
jne 0x422657
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x58]
call fcn.0041bc89
test al, al
je 0x42278f
mov ebp, dword [esp + 0x60]
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], eax
mov esi, 0x407ad8
lea eax, [esp + 0x3c]
mov dword [esp + 0x2c], 3
mov dword [esp + 0x20], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], eax
mov cx, word [esi]
lea edx, [esp + 0xd8]
call fcn.00438287
test ebp, ebp
jne 0x4226b4
push 0x27
pop ecx
call fcn.0043832d
push eax
call dword [0x43c348]
mov ebp, eax
test ebp, ebp
je 0x422777
lea eax, [esp + 0xd8]
mov dword [esp + 0x14], ebx
push eax
call dword [0x43c348]
mov edi, eax
test edi, edi
je 0x4226ef
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x14]
push edx
push ebx
push 0x30
mov ecx, dword [eax]
push edi
push ebp
push eax
call dword [ecx + 0x50]
mov ecx, dword [esp + 0x14]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x14], ecx
push edi
call dword [0x43c344]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x422777
mov eax, dword [edi]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 1
push 0x2710
push edi
call dword [eax + 0x10]
test eax, eax
jne 0x422771
cmp dword [esp + 0x6c], 1
jne 0x422771
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x70]
push ebx
push ebx
push edx
mov ecx, dword [eax]
push ebx
push 0x407ac0
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x422767
cmp word [esp + 0x70], 8
jne 0x42275c
mov eax, dword [esp + 0x78]
test eax, eax
je 0x42275c
cmp word [eax], bx
je 0x42275c
mov ecx, dword [esp + 0x18]
push eax
mov ecx, dword [ecx]
call fcn.00431f14
lea eax, [esp + 0x70]
push eax
call dword [0x43c350]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
add dword [esp + 0x18], 4
add esi, 2
dec dword [esp + 0x2c]
jne 0x422688
mov dword [esp + 0x60], ebp
mov esi, ebx
lea ecx, [esp + 0x54]
call fcn.0041bc58
push ecx
lea ecx, [esp + 0x20]
call fcn.004336f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x407ba8
mov dword [esp + 0x24], ebx
call fcn.00425cce
test al, al
je 0x4227e3
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
jne 0x4227d9
cmp word [esp + 0x14], 0xffff
sete al
jmp 0x4227db
mov al, bl
test al, al
push 1
pop eax
cmovne esi, eax
lea ecx, [esp + 0x1c]
call fcn.00425cac
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x50]
add ecx, dword [esp + 0x38]
add ebp, 8
add ebp, ecx
je 0x422864
mov ecx, ebp
call fcn.0042753b
mov ebx, eax
test ebx, ebx
je 0x422864
xor eax, eax
mov dword [ebx + 1], esi
mov esi, dword [0x43c550]
lea edi, [ebx + 8]
inc eax
mov byte [ebx], al
mov ecx, dword [esp + 0x50]
mov byte [ebx + 5], cl
mov al, byte [esp + 0x44]
mov byte [ebx + 6], al
mov al, byte [esp + 0x38]
mov byte [ebx + 7], al
movzx eax, cl
push eax
push dword [esp + 0x4c]
push edi
call esi
movzx eax, byte [ebx + 5]
add edi, eax
movzx eax, byte [ebx + 6]
push eax
push dword [esp + 0x4c]
push edi
call esi
movzx eax, byte [ebx + 7]
push eax
movzx eax, byte [ebx + 6]
push dword [esp + 0x4c]
add eax, edi
push eax
call esi
add esp, 0x24
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x30]
mov dword [eax], ebp
call fcn.004275f4
mov ecx, dword [esp + 0x3c]
call fcn.004275f4
mov ecx, dword [esp + 0x48]
call fcn.004275f4
pop edi
mov eax, ebx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret