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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x44c4e8]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, edx
mov esi, ecx
mov dword [esp + 0x3c], eax
mov eax, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
call fcn.004240ff
mov eax, dword [esi + 0x20]
mov dword [edi + 0x138], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x13c], eax
mov al, byte [esi + 0x2e]
mov byte [edi + 0x130], al
mov al, byte [esi + 0x2f]
mov byte [edi + 0x131], al
mov ebx, dword [esi + 0x40]
lea edx, [esi + 0x34]
mov eax, dword [edx]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x3c]
push 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.0040f473
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
add eax, 0x20
push 0
mov dword [edi + 0x140], eax
mov eax, dword [esp + 0x14]
pop ecx
adc edx, ecx
or eax, ebx
mov dword [edi + 0x144], edx
jne 0x4228dc
mov ebx, dword [edi + 0x140]
mov eax, edx
mov dword [esp + 0x74], eax
mov dword [edi + 0x10c], eax
mov eax, esi
mov dword [edi + 0x108], ebx
mov dword [esp + 0x1c], ecx
call fcn.00415075
mov edx, dword [eax]
push 0
push 0
push dword [esp + 0x7c]
mov ecx, eax
push ebx
call dword [edx + 0x14]
test eax, eax
je 0x4227f7
xor eax, eax
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042f5f3
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, esi
call fcn.00415075
push 2
pop edi
mov ebx, eax
call fcn.0042a51b
test eax, eax
pop ecx
jne 0x4227de
cmp word [esp + 0x1c], ax
jbe 0x4227de
lea eax, [esp + 0x44]
call fcn.0041c6c8
movzx ecx, word [esp + 0x1c]
mov eax, 0x10000
cmp ecx, eax
mov dword [esp + 0x10], eax
ja 0x422838
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x10]
add ebx, 2
push ebx
lea edi, [esp + 0x48]
call fcn.0041c9c8
mov eax, edi
call fcn.0041c6fb
push ebx
push 0
push eax
mov dword [esp + 0x18], eax
call fcn.0042f6b0
add esp, 0xc
push dword [esp + 0xc]
mov eax, esi
call fcn.00415075
mov edi, dword [esp + 0x14]
mov ebx, eax
call fcn.0042a51b
test eax, eax
pop ecx
jne 0x4228ce
mov esi, dword [esp + 0x20]
push dword [esp + 0xc]
lea ecx, [esp + 0x74]
mov byte [esi + 0x110], 1
call fcn.00402d50
lea eax, [esp + 0x70]
lea ecx, [esp + 0x90]
call fcn.0040e90a
push 0xffffffffffffffff
add esi, 0x114
push esi
xor ebx, ebx
call fcn.004010d7
push ebx
push 1
lea esi, [esp + 0x98]
call fcn.0040115f
push ebx
push 1
lea ecx, [esp + 0x78]
call fcn.00402e04
lea ecx, [esp + 0x44]
call fcn.0041c6da
jmp 0x4227de
cmp ebx, ecx
ja 0x4228e7
cmp dword [esp + 0x10], 0xffffffff
jbe 0x4228ef
xor eax, eax
inc eax
jmp 0x4227e0
cmp dword [esp + 0x74], ecx
jg 0x4228fd
jl 0x4228e7
cmp dword [esp + 0x70], ecx
jb 0x4228e7
mov eax, esi
call fcn.00415075
mov edx, dword [eax]
push 0
push 1
push dword [esp + 0x7c]
mov ecx, eax
push dword [esp + 0x7c]
call dword [edx + 0x14]
test eax, eax
jne 0x4227e0
lea eax, [esp + 0x44]
call fcn.0041c6c8
push dword [esp + 0x10]
lea edi, [esp + 0x48]
call fcn.0041c9c8
mov eax, edi
call fcn.0041c6fb
mov dword [esp + 0xc], eax
push eax
mov eax, esi
call fcn.00415075
mov edi, dword [esp + 0x14]
mov ebx, eax
call fcn.0042a51b
test eax, eax
pop ecx
je 0x42296a
mov edi, eax
lea ecx, [esp + 0x44]
call fcn.0041c6da
mov eax, edi
jmp 0x4227e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
push dword [esp + 0x10]
add ecx, 0x20
mov edx, eax
adc edx, 0
add dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x14]
adc dword [esi + 0x4c], edx
add ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x10]
adc eax, dword [esp + 0x78]
add ecx, 0x20
adc eax, 0
mov dword [ebx + 0x1b0], ecx
mov dword [ebx + 0x1b4], eax
call fcn.0040f473
mov edi, dword [ebx + 0x1b0]
add edi, dword [esi + 0x20]
mov eax, dword [ebx + 0x1b4]
adc eax, dword [esi + 0x24]
and dword [esp + 0x24], 0
mov dword [esp + 0x74], eax
mov eax, esi
mov dword [esp + 0x70], edi
call fcn.00415075
mov edx, dword [eax]
push 0
push 0
push dword [esp + 0x7c]
mov ecx, eax
push edi
call dword [edx + 0x14]
test eax, eax
jne 0x422a08
lea eax, [esp + 0x24]
push eax
mov eax, esi
call fcn.00415075
push 2
pop edi
mov ebx, eax
call fcn.0042a51b
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x74]
pop ecx
test eax, eax
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x108], edi
mov dword [ebx + 0x10c], ecx
jne 0x422af4
cmp word [esp + 0x24], ax
jbe 0x422af4
lea eax, [esp + 0x70]
call fcn.0041c6c8
movzx ecx, word [esp + 0x24]
mov eax, 0x10000
cmp ecx, eax
mov dword [esp + 0xc], eax
ja 0x422a4a
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0xc]
add ebx, 2
push ebx
lea edi, [esp + 0x74]
call fcn.0041c9c8
mov eax, edi
call fcn.0041c6fb
push ebx
push 0
push eax
mov dword [esp + 0x1c], eax
call fcn.0042f6b0
add esp, 0xc
push dword [esp + 0x10]
mov eax, esi
call fcn.00415075
mov edi, dword [esp + 0x10]
mov ebx, eax
call fcn.0042a51b
test eax, eax
pop ecx
jne 0x422ae7
mov esi, dword [esp + 0x20]
push dword [esp + 0x10]
lea ecx, [esp + 0x94]
mov byte [esi + 0x110], 1
call fcn.00402d50
lea eax, [esp + 0x90]
lea ecx, [esp + 0x54]
call fcn.0040e90a
push 0xffffffffffffffff
add esi, 0x114
push esi
xor ebx, ebx
call fcn.004010d7
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.0040115f
push ebx
push 1
lea ecx, [esp + 0x98]
call fcn.00402e04
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x70]
call fcn.0041c6da
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x74]
push eax
mov edi, esi
mov byte [esp + 0x7c], 0
call fcn.00420d02
xor edi, edi
mov eax, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.004210b0
cmp eax, 1
jne 0x422b2c
cmp edx, edi
je 0x422bdd
push dword [esp + 0x3c]
lea eax, [esp + 0x2c]
push dword [esp + 0x3c]
push eax
push dword [ebx + 0x144]
lea eax, [ebx + 0x150]
push dword [ebx + 0x140]
push dword [esp + 0x54]
push esi
call fcn.00421bda
mov ebx, eax
cmp ebx, edi
je 0x422b74
lea esi, [esp + 0x28]
call fcn.00423022
lea esi, [esp + 0x70]
call fcn.00420cce
mov edi, ebx
jmp 0x42295a
cmp dword [esp + 0x2c], edi
je 0x422b87
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sar eax, 4
jne 0x422b9e
lea esi, [esp + 0x28]
call fcn.00423022
lea esi, [esp + 0x70]
call fcn.00420cce
jmp 0x42295a
lea esi, [esp + 0x70]
call fcn.00420cce
mov esi, dword [esp + 0x2c]
cmp esi, dword [esp + 0x30]
jbe 0x422bba
call fcn.0042f4e0
cmp esi, dword [esp + 0x30]
jb 0x422bc1
call fcn.0042f4e0
mov edi, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x74]
push eax
call fcn.00420d02
mov eax, edi
call fcn.004210b0
mov ebx, dword [esp + 0x20]
mov esi, edi
push dword [esp + 0x3c]
mov eax, dword [esi + 0x48]
push dword [esp + 0x3c]
mov dword [ebx + 0x1a8], eax
mov eax, dword [esi + 0x4c]
push ebx
push dword [esp + 0x4c]
mov dword [ebx + 0x1ac], eax
push esi
call fcn.00421f4f
mov edi, eax
jmp 0x422b87