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

Disassembly:
sub esp, 0x114
push ebx
mov ebx, dword [esp + 0x120]
push ebp
mov ebp, dword [ecx + 0x1c]
push esi
mov esi, edx
push edi
mov edi, eax
lea edx, [edi + 0x404]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x10]
mov eax, 0x19
cmp eax, dword [ecx + 4]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x14]
sbb eax, eax
neg eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x130]
add ebx, edx
mov edx, dword [esi + 8]
lea eax, [edi + 0x708]
mov dword [esp + 0x48], eax
mov eax, dword [esi]
mov dword [esp + 0x18], ebx
mov ebx, dword [esi + 4]
sub ebx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc]
sar ebx, 3
sub eax, edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], 0
cmp ebp, 1
jne 0x422753
cmp dword [ecx + 0x18], 0
mov dword [esp + 0x10], ebp
ja 0x42275b
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x134]
mov ecx, dword [ecx + 0x1c]
push ebp
mov ebp, dword [esp + 0x130]
push edx
mov edx, dword [esp + 0x138]
push edx
mov edx, dword [esp + 0x1c]
push ebp
push edx
mov edx, dword [esp + 0x13c]
push ecx
push edi
push edx
call fcn.00421860
add esp, 0x20
cmp eax, 0xffffff88
ja 0x42280f
add ebp, eax
mov eax, dword [esp + 0x18]
sub eax, ebp
cmp eax, 4
jge 0x4227b0
mov eax, 0xffffffba
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
cmp ebx, 0x7f
jae 0x4227bb
mov byte [ebp], bl
inc ebp
jmp 0x4227ea
cmp ebx, 0x7f00
jae 0x4227d6
mov ecx, ebx
shr ecx, 8
sub cl, 0x80
mov byte [ebp], cl
mov byte [ebp + 1], bl
add ebp, 2
jmp 0x4227ea
lea edx, [ebx - 0x7f00]
movzx eax, dx
mov byte [ebp], 0xff
mov word [ebp + 1], ax
add ebp, 3
test ebx, ebx
jne 0x42281a
mov esi, dword [esp + 0x128]
mov edi, dword [esp + 0x28]
add esi, 0x404
mov ecx, 0x378
rep movsd dword es:[edi], dword [esi]
mov eax, ebp
sub eax, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
mov dword [esp + 0x40], ebp
push esi
inc ebp
call fcn.00421ab0
add esp, 4
mov dword [esp + 0x10], 0x23
cmp ebx, 0x5dc
jae 0x422855
mov eax, dword [esp + 0x24]
push ebx
push eax
lea ecx, [esp + 0x18]
push ecx
lea ebx, [esp + 0x58]
call fcn.0044f800
mov ebx, dword [esp + 0x20]
add esp, 0xc
jmp 0x422876
mov edx, dword [esp + 0x24]
push 0
push ebx
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0x5c]
push ecx
call fcn.0044f890
add esp, 0x14
mov esi, dword [esp + 0x128]
mov edx, dword [esi + 0x11e0]
lea ecx, [edi + 0x11e0]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
push edx
push 0x6c3a80
lea edx, [esi + 0xcb4]
push edx
push 9
push ebx
push eax
mov eax, dword [esp + 0x28]
push eax
lea edx, [esp + 0x68]
push edx
mov eax, 1
push ecx
lea ecx, [eax + 5]
call fcn.00421dc0
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x48]
add esp, 0x24
push ecx
push 0x524
lea ecx, [esi + 0xcb4]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x23
push 6
push 0x6c3a80
push ebx
push edx
mov edx, dword [esp + 0x38]
push ecx
push eax
mov dword [esp + 0x5c], eax
lea eax, [edi + 0xcb4]
push 9
sub edx, ebp
push eax
push edx
lea edx, [esp + 0x80]
mov ecx, ebp
mov dword [esp + 0x78], eax
call fcn.00421f00
add esp, 0x34
cmp eax, 0xffffff88
ja 0x42280f
cmp dword [esp + 0x34], 2
jne 0x422921
mov dword [esp + 0x20], ebp
add ebp, eax
mov eax, dword [esp + 0x134]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x34]
mov eax, ebx
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x1f
call fcn.0044fb40
mov edx, dword [esi + 0x11d8]
mov dword [edi + 0x11d8], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [edi + 0x11d8]
push 0x6c3c0c
mov edx, 0x1c
cmp edx, dword [esp + 0x20]
lea edx, [esi + 0x404]
push edx
mov edx, dword [esp + 0x28]
push 8
push ebx
push edx
mov edx, dword [esp + 0x30]
push edx
lea edx, [esp + 0x70]
push edx
sbb eax, eax
push ecx
inc eax
mov ecx, 5
call fcn.00421dc0
mov ecx, dword [esp + 0x160]
mov edx, dword [esp + 0x58]
add esp, 0x2c
push ecx
push 0x304
lea ecx, [esi + 0x404]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x1c
push 5
push 0x6c3c0c
push ebx
push edx
mov edx, dword [esp + 0x48]
push ecx
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
push 8
push edx
sub eax, ebp
push eax
lea edx, [esp + 0x80]
mov ecx, ebp
call fcn.00421f00
add esp, 0x34
cmp eax, 0xffffff88
ja 0x42280f
cmp dword [esp + 0x14], 2
jne 0x4229fa
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x134]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x50]
add ebp, eax
push edx
mov eax, ebx
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x34
call fcn.0044fb40
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x11dc]
push edx
push 0x6c3ba0
add esi, 0x708
push esi
push 9
push ebx
push eax
mov eax, dword [esp + 0x30]
add edi, 0x11dc
mov dword [edi], ecx
push eax
lea ecx, [esp + 0x70]
push ecx
mov eax, 1
push edi
lea ecx, [eax + 5]
call fcn.00421dc0
mov edx, dword [esp + 0x160]
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
add esp, 0x2c
push edx
mov edx, dword [esp + 0x1c]
push 0x5ac
push esi
mov esi, dword [esp + 0x54]
push 0x34
push 6
push 0x6c3ba0
push ebx
push edi
push ecx
push eax
push 9
sub edx, ebp
push esi
push edx
lea edx, [esp + 0x80]
mov ecx, ebp
mov dword [esp + 0x50], eax
call fcn.00421f00
add esp, 0x34
cmp eax, 0xffffff88
ja 0x42280f
mov ecx, dword [esp + 0x1c]
cmp ecx, 2
jne 0x422aba
mov dword [esp + 0x20], ebp
mov edx, dword [esp + 0x38]
add ebp, eax
mov al, byte [esp + 0x34]
add al, al
add al, al
add al, byte [esp + 0x14]
push edx
mov edx, dword [esp + 0x48]
add al, al
add al, al
add al, cl
mov ecx, dword [esp + 0x44]
add al, al
add al, al
mov byte [ecx], al
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
push ebx
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x30]
push ecx
push edi
push esi
sub eax, ebp
mov ecx, ebp
call fcn.004220d0
add esp, 0x24
cmp eax, 0xffffff88
ja 0x42280f
add ebp, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x422806
mov edx, ebp
sub edx, eax
cmp edx, 4
jge 0x422806
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret