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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x48], ebx
lea edi, [esp + 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x54], ebx
lea edi, [esp + 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x60], ebx
xor eax, eax
lea edi, [esp + 0x64]
stosd dword es:[edi], eax
lea esi, [esp + 0x38]
mov dword [esp + 0x30], ebx
stosd dword es:[edi], eax
call fcn.0040b294
lea esi, [esp + 0x84]
mov eax, 0xae
mov dword [esp + 0x38], 0x4b28b2c
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.00413da3
lea esi, [esp + 0xac]
mov eax, 0xaf
call fcn.00413da3
mov eax, esi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0041ecef
test al, al
jne 0x421faf
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0041ecef
test al, al
je 0x4220ef
mov edi, dword [0x4b21348]
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x4b28c3c
mov dword [esp + 0x2c], 3
mov eax, dword [esp + 0x1c]
mov ax, word [eax]
lea esi, [esp + 0xd8]
call fcn.00413da3
cmp dword [esp + 0x44], ebx
jne 0x422011
push 0x4b28b24
call edi
mov dword [esp + 0x44], eax
cmp eax, ebx
je 0x4220db
lea eax, [esp + 0xd8]
push eax
mov dword [esp + 0x14], ebx
call edi
mov esi, eax
cmp esi, ebx
je 0x422044
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push ebx
push 0x30
push esi
push dword [esp + 0x54]
push eax
call dword [ecx + 0x50]
test eax, eax
je 0x422044
mov dword [esp + 0x10], ebx
push esi
call dword [0x4b2133c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x4220db
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x38]
push edx
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4220d1
cmp dword [esp + 0x6c], 1
jne 0x4220d1
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x78]
push edx
push ebx
push 0x4b28c44
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4220c7
cmp word [esp + 0x70], 8
jne 0x4220bc
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x4220bc
cmp word [eax], bx
je 0x4220bc
push eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
or eax, 0xffffffff
call fcn.0040f1a3
lea eax, [esp + 0x70]
push eax
call dword [0x4b21344]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add dword [esp + 0x1c], 2
add dword [esp + 0x14], 4
dec dword [esp + 0x2c]
jne 0x421fe5
lea esi, [esp + 0x38]
call fcn.0041ecc8
lea esi, [esp + 0x20]
call fcn.0040b294
mov dword [esp + 0x28], ebx
mov ebx, esi
mov dword [esp + 0x20], 0x4b28d5c
call fcn.0042398e
test al, al
je 0x422144
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x422136
cmp word [esp + 0x10], 0xffff
sete al
jmp 0x422138
xor al, al
test al, al
je 0x422144
mov dword [esp + 0x30], 1
lea esi, [esp + 0x20]
call fcn.00423970
mov ecx, dword [esp + 0x68]
add ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
lea ebx, [ecx + eax + 8]
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x422169
xor edi, edi
jmp 0x4221d5
mov eax, ebx
call fcn.0042c32d
mov edi, eax
test edi, edi
je 0x4221d5
mov eax, dword [esp + 0x30]
mov esi, dword [0x4b2166c]
mov dword [edi + 1], eax
mov byte [edi], 1
mov al, byte [esp + 0x50]
mov byte [edi + 5], al
mov al, byte [esp + 0x5c]
mov byte [edi + 6], al
mov al, byte [esp + 0x68]
mov byte [edi + 7], al
movzx eax, byte [edi + 5]
push eax
push dword [esp + 0x4c]
lea ebx, [edi + 8]
push ebx
call esi
movzx eax, byte [edi + 5]
add ebx, eax
movzx eax, byte [edi + 6]
push eax
push dword [esp + 0x64]
push ebx
call esi
movzx eax, byte [edi + 7]
push eax
movzx eax, byte [edi + 6]
push dword [esp + 0x7c]
add eax, ebx
push eax
call esi
mov ebx, dword [esp + 0x3c]
add esp, 0x24
lea esi, [esp + 0x48]
call fcn.0040f193
lea esi, [esp + 0x54]
call fcn.0040f193
lea esi, [esp + 0x60]
call fcn.0040f193
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4