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

Disassembly:
sub esp, 0x7c
mov edx, dword [esp + 0x84]
push ebx
xor eax, eax
push ebp
push esi
mov esi, dword [esp + 0x8c]
push edi
xor edi, edi
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [edx + 0xc], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
mov al, byte [esi]
cmp al, 0x20
je 0x403310
cmp al, 9
jne 0x403313
inc esi
jmp 0x403306
cmp byte [esi], 0
mov dword [esp + 0x90], esi
je 0x40363b
movsx eax, byte [esi]
xor ebp, ebp
push eax
mov edi, esi
mov dword [esp + 0x18], ebp
call fcn.00408ecd
add esp, 4
test eax, eax
je 0x403361
jmp 0x403340
movsx edx, byte [edi]
movsx eax, byte [edi + 1]
inc edi
lea ecx, [ebp + ebp*4]
push eax
lea ebp, [edx + ecx*2 - 0x30]
call fcn.00408ecd
add esp, 4
test eax, eax
jne 0x403340
mov dword [esp + 0x14], ebp
cmp edi, esi
mov bl, byte [edi]
jbe 0x4033ef
cmp bl, 0x2f
je 0x403383
cmp bl, 0x3a
je 0x403383
cmp bl, 0x2e
je 0x403383
cmp bl, 0x2d
je 0x403383
test bl, bl
jne 0x4033ef
mov eax, dword [esp + 0x58]
cmp eax, 5
mov dword [esp + 0x2c], 0
jge 0x4039e9
mov dword [esp + eax*4 + 0x5c], ebp
mov edx, dword [esp + 0x58]
mov ecx, edi
sub ecx, esi
mov dword [esp + edx*4 + 0x74], ecx
mov ecx, dword [esp + 0x58]
inc ecx
test bl, bl
mov dword [esp + 0x58], ecx
jne 0x4033cd
mov esi, edi
mov dword [esp + 0x90], esi
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x2c]
jmp dword [ebp*4 + 0x403a0c]
mov al, byte [edi + 1]
cmp al, 0x20
lea esi, [edi + 1]
mov dword [esp + 0x90], esi
je 0x4033e2
cmp al, 9
jne 0x4033be
mov al, byte [esi]
cmp al, 0x20
je case.default.0x4033c6
cmp al, 9
jne 0x4033b7
inc esi
jmp 0x4033e2
mov edx, dword [esp + 0x9c]
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
push esi
mov dword [esp + 0x34], 0
call fcn.00403080
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x403445
cmp dword [esp + 0x58], 5
jge 0x4039e9
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edi, [esp + 0x60]
call fcn.00402e80
mov esi, dword [esp + 0x98]
add esp, 8
mov bl, al
cmp ebp, 4
mov edi, dword [esp + 0x58]
ja 0x4039e9
jmp switch.0x004033c6
cmp bl, 0x3a
je 0x4034f7
cmp bl, 0x2e
jne 0x4034be
cmp edi, 4
je 0x4034f7
mov ebp, 1
cmp edi, 3
jl 0x403480
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x403497
mov edx, dword [esp + 0x94]
mov byte [edx + 6], 1
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4034d3
cmp edi, ebp
jne 0x403612
cmp dword [esp + 0x74], 4
jb 0x403612
mov dword [esp + 0x98], ebp
jmp 0x403612
cmp bl, 0x2f
je 0x4034c8
cmp bl, 0x2d
jne 0x40346e
mov ebp, 1
mov dword [esp + 0x24], ebp
jmp 0x403473
test eax, eax
jne 0x403612
mov ecx, dword [esp + 0x94]
dec edi
mov dword [esp + 0x58], edi
mov al, byte [esp + edi*4 + 0x5c]
mov byte [ecx + 6], al
mov dword [esp + 0x1c], ebp
jmp 0x403612
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4039e9
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4039e9
mov ebx, dword [esp + 0x94]
dec edi
mov dword [esp + 0x58], edi
mov dl, byte [esp + edi*4 + 0x5c]
mov byte [ebx + 7], dl
movsx eax, byte [esi]
mov ebp, 1
push eax
mov dword [esp + 0x24], ebp
call fcn.00408ecd
add esp, 4
test eax, eax
je 0x403612
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x94]
push edx
lea edi, [esp + 0x60]
call fcn.00402e80
mov ecx, dword [esp + 0x60]
add esp, 8
dec ecx
cmp al, 0x3a
mov dword [esp + 0x58], ecx
mov cl, byte [esp + ecx*4 + 0x5c]
mov byte [ebx + 8], cl
je 0x403574
cmp al, 0x2e
jne 0x40360b
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
lea edi, [esp + 0x60]
call fcn.00402e80
mov ecx, dword [esp + 0x60]
add esp, 8
dec ecx
cmp al, 0x2e
mov dword [esp + 0x58], ecx
mov cl, byte [esp + ecx*4 + 0x5c]
mov byte [ebx + 9], cl
je 0x4035a5
cmp al, 0x3a
jne 0x40360b
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
lea edi, [esp + 0x60]
call fcn.00402e80
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + ecx*4 + 0x78]
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp edx, 6
jae 0x4035e3
mov eax, 6
sub eax, edx
add edx, eax
lea ecx, [ecx + ecx*4]
shl ecx, 1
dec eax
jne 0x4035d8
cmp edx, 6
jbe 0x4035ff
lea esi, [edx - 6]
jmp 0x4035f0
mov eax, 0xcccccccd
mul ecx
shr edx, 3
dec esi
mov ecx, edx
jne 0x4035f0
mov eax, dword [esp + 0x58]
dec eax
mov dword [ebx + 0xc], ecx
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x90]
cmp byte [esi], 0
mov edi, ebp
jne 0x403323
cmp dword [esp + 0x58], 3
je 0x40369b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40363b
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40363b
cmp dword [esp + 0x58], 1
je 0x40369b
lea edx, [esp + 0x48]
push edx
call fcn.00404f50
mov cx, word [esp + 0x50]
mov eax, dword [esp + 0x98]
mov dx, word [esp + 0x4c]
mov word [eax + 4], cx
mov ecx, dword [esp + 0x38]
add esp, 4
test ecx, ecx
mov word [eax], dx
jne 0x40366f
mov cl, byte [esp + 0x4b]
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x40367e
mov dl, byte [esp + 0x4a]
mov byte [eax + 2], dl
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x40369b
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov ecx, 1
jne 0x403698
movzx ecx, byte [esp + 0x4e]
mov byte [eax + 6], cl
mov eax, dword [esp + 0x58]
test eax, eax
jg 0x403855
test edi, edi
jne 0x4039da
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7c
ret
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4036c0
sub eax, edx
add eax, esi
call fcn.00402e30
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x90], esi
jne 0x403707
test edi, edi
jle 0x4039e9
mov ecx, dword [esp + 0x94]
dec edi
mov dword [esp + 0x58], edi
mov dl, byte [esp + edi*4 + 0x5c]
mov ebp, 1
mov byte [ecx + 7], dl
mov dword [esp + 0x20], ebp
jmp 0x403713
mov ecx, dword [esp + 0x94]
mov ebp, 1
mov al, byte [ecx + 7]
cmp al, 0xc
jae 0x403612
add al, 0xc
mov byte [ecx + 7], al
jmp 0x403612
lea eax, [esp + 0x38]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403730
sub eax, edx
add eax, esi
call fcn.00402e30
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x90], esi
jne 0x403777
test edi, edi
jle 0x4039e9
mov ecx, dword [esp + 0x94]
dec edi
mov dword [esp + 0x58], edi
mov al, byte [esp + edi*4 + 0x5c]
mov ebp, 1
mov byte [ecx + 7], al
mov dword [esp + 0x20], ebp
jmp 0x403783
mov ecx, dword [esp + 0x94]
mov ebp, 1
mov al, byte [ecx + 7]
cmp al, 0xc
jne 0x403793
mov byte [ecx + 7], 0
jmp 0x403612
ja 0x4039e9
jmp 0x403612
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4037a5
sub eax, edx
add eax, esi
call fcn.00402e30
mov cl, byte [esp + 0x13]
mov esi, eax
mov eax, dword [esp + 0x94]
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x90], esi
jne 0x4039e9
cmp dword [esp + 0x98], 3
mov ebp, 1
mov dword [esp + 0x18], ebp
mov byte [eax + 6], 1
mov dword [esp + 0x30], ebp
jne 0x403612
test edi, edi
mov dword [esp + 0x1c], ebp
jle 0x403612
dec edi
mov dword [esp + 0x58], edi
mov dl, byte [esp + edi*4 + 0x5c]
mov byte [eax + 6], dl
jmp 0x403612
lea eax, [esp + 0x38]
lea edx, [eax + 1]
jmp 0x403820
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403820
sub eax, edx
add eax, esi
call fcn.00402e30
mov ecx, dword [esp + 0x94]
mov esi, eax
mov al, byte [esp + 0x13]
mov ebp, 1
mov dword [esp + 0x90], esi
mov byte [ecx + 3], al
mov dword [esp + 0x34], ebp
jmp 0x403612
cmp eax, 1
jne 0x40393d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40388b
mov eax, dword [esp + 0x74]
mov cx, word [esp + 0x5c]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov word [esi], cx
jne 0x4038fa
mov byte [esi + 6], 1
jmp 0x4038fa
mov edi, dword [esp + 0x5c]
push 0x64
push edi
call fcn.00408f46
mov ecx, dword [esp + 0x7c]
add esp, 8
cmp ecx, 6
je 0x4038dd
cmp ecx, 8
je 0x4038dd
cmp ecx, 4
jne 0x4039e9
mov esi, dword [esp + 0x94]
push 0x64
push edi
mov byte [esi + 6], 1
call fcn.00408f46
mov ecx, dword [esp + 0xa0]
add esp, 8
cmp ecx, 1
je 0x4038f2
dec al
mov byte [esi + 2], al
mov word [esi], dx
jmp 0x4038fa
mov esi, dword [esp + 0x94]
push 0x64
push eax
mov byte [esi + 6], dl
call fcn.00408f46
add esp, 8
dec dl
mov byte [esi + 2], dl
mov word [esi], ax
mov ax, word [esi]
cmp ax, 0x64
jae 0x4039fb
cmp dword [esp + 0x28], 2
ja 0x4039fb
mov edx, dword [esp + 0xa0]
movzx ecx, ax
cmp ecx, edx
jae 0x4039f3
add eax, 0x7d0
push esi
mov word [esi], ax
call fcn.00402f70
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
cmp eax, 3
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
jne 0x40397f
cmp ecx, 1
je 0x40396e
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x28], edx
mov dx, word [esp + 0x64]
mov eax, 2
mov dword [esp + 0x58], eax
mov word [esi], dx
cmp ecx, 3
je 0x40397f
dec eax
mov dword [esp + 0x58], eax
mov dl, byte [esp + eax*4 + 0x5c]
mov byte [esi + 6], dl
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x403995
dec eax
mov dword [esp + 0x58], eax
mov dl, byte [esp + eax*4 + 0x5c]
dec dl
mov byte [esi + 2], dl
cmp ecx, 3
jne 0x4039b6
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x4039b6
test eax, eax
jle 0x4038fa
dec eax
mov dword [esp + 0x58], eax
mov dl, byte [esp + eax*4 + 0x5c]
mov byte [esi + 6], dl
test eax, eax
jle 0x4038fa
cmp ecx, 1
jne 0x4039e1
mov ecx, dword [esp + eax*4 + 0x70]
dec eax
mov dword [esp + 0x58], eax
mov dx, word [esp + eax*4 + 0x5c]
mov dword [esp + 0x28], ecx
mov word [esi], dx
jmp 0x4039e1
mov esi, dword [esp + 0x94]
test eax, eax
jle 0x4038fa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7c
ret
add eax, 0x76c
mov word [esi], ax
push esi
call fcn.00402f70
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret