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

Disassembly:
sub esp, 0x5c
and dword [esp + 4], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
push edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], eax
xor eax, eax
inc eax
mov edx, dword [esi + 0x40]
shl eax, cl
mov ecx, dword [esi + 4]
dec eax
mov dword [esp + 0x44], eax
xor eax, eax
inc eax
mov ebx, dword [esi + 0x2c]
shl eax, cl
dec eax
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esi]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x38]
mov ebp, dword [esi + 0xc]
mov edi, dword [esi + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
and dword [eax], 0
mov eax, dword [esp + 0x88]
and dword [eax], 0
cmp edx, 0xffffffff
je 0x423d03
test ebp, ebp
jne 0x42379c
lea eax, [esp + 0x40]
inc ebp
mov dword [esp + 0x1c], eax
mov al, byte [esi + 0x44]
mov byte [esp + 0x40], al
cmp edx, 0xfffffffe
jne 0x42381e
mov ecx, dword [esi + 4]
mov eax, 0x300
add ecx, dword [esp + 0x34]
shl eax, cl
add eax, 0x736
je 0x4237ca
mov edi, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
mov eax, 0x4000400
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
push dword [esp + 0x78]
xor eax, eax
xor ecx, ecx
push dword [esp + 0x78]
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], eax
mov ebx, eax
mov dword [esp + 0x34], eax
mov edi, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], ecx
mov byte [eax + ebp - 1], cl
lea ecx, [esp + 0x60]
push ecx
call fcn.00424585
add esp, 0xc
cmp dword [esp + 0x68], edi
je 0x423816
xor eax, eax
inc eax
jmp 0x423d05
xor edx, edx
mov dword [esp + 0x20], edx
mov ecx, edx
test edx, edx
je 0x423873
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp eax, dword [esp + 0x84]
jae 0x42386b
mov eax, edi
sub eax, ebx
cmp eax, ebp
jb 0x42383d
add eax, ebp
mov esi, dword [esp + 0x14]
mov al, byte [eax + ecx]
mov edx, dword [esp + 0x80]
mov byte [edi + ecx], al
mov byte [esi + edx], al
mov eax, esi
inc eax
xor edx, edx
inc edi
mov dword [esp + 0x14], eax
cmp edi, ebp
cmove edi, edx
mov edx, dword [esp + 0x20]
dec edx
mov dword [esp + 0x20], edx
jne 0x42382a
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test edi, edi
jne 0x423881
mov al, byte [eax + ebp - 1]
jmp 0x423885
mov al, byte [edi + eax - 1]
and dword [esp + 0x68], 0
mov byte [esp + 0x78], al
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x14], eax
jae 0x423c9e
push 8
pop eax
sub al, byte [esp + 0x34]
movzx eax, al
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x3c]
mov edx, eax
mov dword [esp + 0x4c], eax
and edx, dword [esp + 0x44]
cmp dword [esp + 0x68], 0
mov dword [esp + 0x38], edx
jne 0x42380e
lea eax, [esp + 0x58]
push eax
mov eax, ecx
mov ecx, dword [esp + 0x1c]
shl eax, 4
add eax, edx
lea eax, [ecx + eax*2]
push eax
call fcn.00424453
pop ecx
pop ecx
test eax, eax
jne 0x4239ce
mov cl, byte [esp + 0x48]
movzx eax, byte [esp + 0x78]
mov edx, dword [esp + 0x4c]
and edx, dword [esp + 0x50]
shr eax, cl
mov ecx, dword [esp + 0x34]
shl edx, cl
mov ecx, dword [esp + 0x18]
add eax, edx
imul eax, eax, 0x600
add ecx, 0xe6c
push 7
add ecx, eax
pop eax
cmp dword [esp + 0x10], eax
jl 0x423950
mov eax, edi
sub eax, ebx
cmp eax, ebp
jb 0x423931
add eax, ebp
mov edx, dword [esp + 0x1c]
mov al, byte [eax + edx]
mov byte [esp + 0x54], al
lea eax, [esp + 0x58]
push dword [esp + 0x54]
push eax
push ecx
call fcn.00423daa
add esp, 0xc
jmp 0x42395d
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.00423d83
pop ecx
pop ecx
mov edx, dword [esp + 0x80]
mov cl, al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], cl
mov byte [eax + edx], cl
inc eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
cmp edx, ebp
jae 0x423983
inc edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
mov byte [edi + edx], cl
inc edi
xor ecx, ecx
cmp edi, ebp
cmove edi, ecx
mov ecx, dword [esp + 0x10]
cmp ecx, 4
jge 0x4239b7
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x20]
cmp eax, dword [esp + 0x84]
jb 0x4238b1
jmp 0x423c9e
mov edx, dword [esp + 0x20]
cmp ecx, 0xa
jge 0x4239c5
sub ecx, 3
jmp 0x4239c8
sub ecx, 6
mov dword [esp + 0x10], ecx
jmp 0x4239a5
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x14]
add ecx, 0x180
lea eax, [ecx + eax*2]
push eax
call fcn.00424453
pop ecx
pop ecx
cmp eax, 1
jne 0x423b47
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x14]
add ecx, 0x198
lea eax, [ecx + eax*2]
push eax
call fcn.00424453
pop ecx
test eax, eax
lea eax, [esp + 0x5c]
pop ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
jne 0x423ab4
add eax, 0xf
shl eax, 4
add eax, dword [esp + 0x3c]
lea eax, [ecx + eax*2]
push eax
call fcn.00424453
pop ecx
pop ecx
test eax, eax
jne 0x423b11
mov edx, dword [esp + 0x24]
test edx, edx
je 0x42380e
cmp dword [esp + 0x10], 7
push 0xb
pop eax
push 9
pop ecx
cmovl eax, ecx
mov dword [esp + 0x10], eax
mov eax, edi
sub eax, ebx
cmp eax, ebp
jb 0x423a6d
add eax, ebp
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x80]
mov cl, byte [eax + ecx]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x78], cl
mov byte [edi + eax], cl
inc edi
xor eax, eax
cmp edi, ebp
cmove edi, eax
mov eax, dword [esp + 0x14]
mov byte [eax + esi], cl
inc eax
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp edx, ebp
jae 0x4239a1
inc edx
mov dword [esp + 0x24], edx
jmp 0x4239a1
add ecx, 0x1b0
lea eax, [ecx + eax*2]
push eax
call fcn.00424453
pop ecx
pop ecx
test eax, eax
jne 0x423acf
mov eax, dword [esp + 0x28]
jmp 0x423b0b
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x14]
add ecx, 0x1c8
lea eax, [ecx + eax*2]
push eax
call fcn.00424453
pop ecx
pop ecx
test eax, eax
jne 0x423af7
mov eax, dword [esp + 0x2c]
jmp 0x423b03
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebx
mov ebx, eax
push dword [esp + 0x38]
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x20]
add eax, 0xa68
push eax
call fcn.00423d0d
add esp, 0xc
mov edx, eax
push 0xb
pop ecx
push 7
pop eax
cmp dword [esp + 0x10], eax
push 8
pop eax
cmovl ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x423c20
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
push 0xa
mov dword [esp + 0x30], eax
pop eax
push 7
pop ecx
cmp dword [esp + 0x10], ecx
push dword [esp + 0x38]
cmovl eax, ecx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x5c]
push eax
lea eax, [ebx + 0x664]
push eax
call fcn.00423d0d
mov ecx, eax
lea eax, [esp + 0x64]
push eax
push 6
push 3
cmp ecx, 4
mov dword [esp + 0x38], ecx
pop eax
cmovl eax, ecx
shl eax, 7
add eax, 0x360
add eax, ebx
push eax
call fcn.004244f1
mov edx, eax
add esp, 0x18
mov ebx, edx
cmp edx, 4
jl 0x423c19
mov ecx, edx
and ebx, 1
sar ecx, 1
or ebx, 2
dec ecx
shl ebx, cl
cmp edx, 0xe
jge 0x423beb
lea eax, [esp + 0x58]
push eax
push ecx
mov ecx, dword [esp + 0x20]
mov eax, ebx
sub eax, edx
add ecx, 0x55e
lea eax, [ecx + eax*2]
push eax
call fcn.004245df
add esp, 0xc
jmp 0x423c17
lea eax, [ecx - 4]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0042452e
shl eax, 4
add ebx, eax
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x24]
add eax, 0x644
push 4
push eax
call fcn.004245df
add esp, 0x14
add ebx, eax
inc ebx
je 0x423c9b
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add edx, 2
cmp ebx, ecx
ja 0x42380e
mov eax, ebp
sub eax, ecx
cmp eax, edx
jbe 0x423c3f
add ecx, edx
mov dword [esp + 0x24], ecx
jmp 0x423c43
mov dword [esp + 0x24], ebp
mov esi, dword [esp + 0x14]
mov eax, edi
sub eax, ebx
cmp eax, ebp
jb 0x423c51
add eax, ebp
mov ecx, dword [esp + 0x1c]
mov cl, byte [eax + ecx]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x78], cl
mov byte [edi + eax], cl
inc edi
xor eax, eax
cmp edi, ebp
cmove edi, eax
mov eax, dword [esp + 0x80]
mov byte [esi + eax], cl
inc esi
dec edx
je 0x423c82
cmp esi, dword [esp + 0x84]
jb 0x423c47
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
jmp 0x4239a5
or edx, 0xffffffff
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x3c]
add eax, ecx
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x3c], eax
mov al, byte [esp + 0x40]
mov dword [esi + 0x40], edx
mov edx, dword [esp + 0x7c]
mov byte [esi + 0x44], al
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x74]
mov dword [edx], eax
mov eax, dword [esp + 0x88]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret