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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x597670]
xor eax, esp
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x8c]
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
mov ebp, dword [esp + 0x98]
push esi
push edi
mov edi, dword [esp + 0x94]
push ebp
push ebx
push edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], 0
mov dword [ecx], 0
call fcn.00430030
mov esi, eax
add esp, 0xc
cmp esi, 2
jne 0x43226c
cmp dword [edi + 0x10], 0x5e
jne 0x43226c
cmp dword [edi + 4], 0
jne 0x43226c
mov eax, dword [esp + 0x1c]
push ebp
push ebx
push edi
mov dword [esp + 0x50], 1
call fcn.00430030
add esp, 0xc
mov esi, eax
jmp 0x432274
mov dword [esp + 0x44], 0
test esi, esi
jl 0x432607
cmp esi, 0x13
jne 0x4322c3
mov eax, dword [ebp + 0x24]
push ebp
push eax
mov eax, dword [ebx]
call fcn.00432160
add esp, 8
test eax, eax
jne 0x4322aa
pop edi
lea eax, [esi - 0x79]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0050f0b5
add esp, 0x7c
ret
push ebp
mov edx, 0x5917e8
call fcn.0042fdb0
add esp, 4
mov dword [edi], 2
mov esi, 2
call fcn.0042dd20
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
test eax, eax
jne 0x4322ea
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0050f0b5
add esp, 0x7c
ret
mov edx, dword [ebx]
mov edi, 3
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edx
cmp esi, 0x13
je 0x4328d6
mov edi, edi
mov dword [esp + 0x24], 0
cmp esi, 0x17
ja case.0x432328.3
movzx eax, byte [esi + 0x4329ac]
jmp dword [eax*4 + 0x432980]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ecx + 0x18]
push eax
call ecx
add esp, 4
cmp eax, 1
jle 0x432351
mov eax, 1
jmp 0x432740
test eax, eax
jge 0x43273e
mov esi, eax
jmp 0x4325d1
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 1
mov ebx, dword [esp + 0x14]
je 0x432481
mov ecx, dword [ebx + 8]
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x432481
mov cl, byte [ebx + 0x10]
mov edx, dword [esp + 0x18]
mov edi, 1
mov byte [esp + 0x80], cl
cmp dword [eax + 8], edi
mov dword [esp + 0x50], edx
jle 0x4323e8
lea esp, [esp]
mov eax, dword [esp + 0x1c]
push ebp
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.00430030
mov esi, eax
add esp, 0xc
test esi, esi
jl 0x4325d1
cmp esi, 1
jne 0x4323e0
mov eax, dword [esp + 0x48]
cmp dword [ebx + 8], eax
jne 0x4323e0
mov cl, byte [ebx + 0x10]
mov edx, dword [ebp + 8]
mov byte [esp + edi + 0x80], cl
inc edi
cmp edi, dword [edx + 8]
jl 0x4323a0
jmp 0x4323e8
mov dword [esp + 0x24], 1
mov eax, dword [ebp + 8]
cmp edi, dword [eax + 0xc]
jl 0x432883
mov edx, dword [eax]
lea ecx, [esp + 0x80]
push ecx
call edx
add esp, 4
cmp edi, eax
jl 0x432883
jle 0x432444
mov ecx, dword [esp + 0x50]
mov edi, 1
cmp eax, edi
mov dword [esp + 0x18], ecx
jle 0x43243c
lea esi, [eax - 1]
lea edi, [esi + 1]
mov eax, dword [esp + 0x1c]
push ebp
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.00430030
add esp, 0xc
sub esi, 1
jne 0x432424
mov dword [esp + 0x24], 0
cmp edi, 1
jne 0x432458
movzx ebx, byte [esp + 0x80]
xor eax, eax
jmp 0x432749
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x87]
push ecx
lea edx, [esp + 0x84]
push edx
call eax
mov ebx, eax
mov eax, 1
add esp, 8
mov edi, eax
jmp 0x432749
mov ebx, dword [ebx + 0x10]
xor eax, eax
lea edi, [eax + 1]
jmp 0x432749
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0x10]
mov edi, 1
jmp 0x432700
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push ebp
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.00431c90
mov esi, eax
add esp, 0xc
test esi, esi
jl 0x4325d1
cmp esi, 1
jne 0x43252d
push ebp
mov edx, 0x5917e4
call fcn.0042fdb0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
add esp, 4
mov dword [esp + 0x18], ecx
jmp 0x4326fe
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
push edx
jmp 0x432516
mov eax, dword [esp + 0x1c]
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00431e80
add esp, 0xc
test eax, eax
jl 0x432969
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x14]
push eax
mov ebx, dword [esp + 0x14]
push ebx
mov eax, ebp
call fcn.00431a10
add esp, 8
test eax, eax
jne 0x432969
push ebp
lea esi, [esp + 0x24]
lea edi, [esp + 0x2c]
lea ecx, [esp + 0x34]
mov edx, ebx
call fcn.00431f80
mov esi, eax
add esp, 4
test esi, esi
jne 0x4325d1
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push ebp
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x28]
call fcn.00430030
mov esi, eax
add esp, 0xc
test esi, esi
jl 0x4325d1
cmp esi, 0x13
jne 0x432310
test edi, edi
jne 0x4325aa
mov eax, dword [esp + 0x28]
push ebp
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x1c]
push eax
push edi
lea ecx, [esp + 0x4c]
push ecx
push edi
push edx
lea ebx, [esp + 0x50]
call fcn.00431ff0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4325d1
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x4328d6
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0042edd0
mov esi, eax
add esp, 8
test esi, esi
je 0x4328ab
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
cmp eax, dword [ebx]
je 0x4325fc
mov edi, dword [eax + 0x28]
test edi, edi
je 0x4325fc
mov eax, dword [edi]
test eax, eax
je 0x4325f3
push eax
call fcn.0051293f
add esp, 4
push edi
call fcn.0051293f
add esp, 4
mov edx, dword [ebx]
push edx
call fcn.0042dbe0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0050f0b5
add esp, 0x7c
ret
push ebp
test edi, edi
jne 0x432667
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ecx
call fcn.00430030
mov esi, eax
add esp, 0xc
test esi, esi
jl 0x4325d1
mov edi, 1
mov dword [esp + 0x24], edi
cmp esi, 0x13
je 0x4326f9
cmp esi, 0x16
je 0x4326eb
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
mov dword [esp + 0x20], edi
jmp 0x43256f
cmp edi, 3
jne 0x4326b4
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x28]
xor edi, edi
call fcn.00430030
mov esi, eax
add esp, 0xc
test esi, esi
jl 0x4325d1
mov dword [esp + 0x24], 1
cmp esi, 0x14
je 0x4326a4
cmp dword [esp + 0x40], edi
je 0x432700
push ebp
mov edx, 0x5917f0
call fcn.0042fdb0
add esp, 4
jmp 0x432700
cmp edi, 1
je 0x432731
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ecx
call fcn.00430030
mov esi, eax
add esp, 0xc
test esi, esi
jl 0x4325d1
mov dword [esp + 0x24], 1
cmp esi, 0x13
je 0x4326f9
cmp esi, 0x16
jne 0x432720
push ebp
mov edx, 0x5917f0
call fcn.0042fdb0
add esp, 4
mov ebx, 0x2d
xor edi, edi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push ebx
call eax
add esp, 4
test eax, eax
jl 0x432359
xor ecx, ecx
cmp eax, 1
setne cl
mov eax, ecx
jmp 0x432749
mov edx, dword [ebp + 0xc]
test dword [edx + 8], 0x800000
je 0x43288d
push ebp
mov edx, 0x5917f0
call fcn.0042fdb0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0x10]
xor edi, edi
push ebp
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x30]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edi
lea edx, [esp + 0x4c]
push edx
push ebx
push eax
lea ebx, [esp + 0x50]
call fcn.00431ff0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4325d1
cmp dword [esp + 0x24], eax
je 0x43254e
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov esi, dword [ecx]
jmp 0x43256f
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push ebp
push ecx
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004321e0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4325d1
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
push edx
push eax
call fcn.0042eff0
mov ecx, dword [esp + 0x3c]
push ecx
mov esi, eax
call fcn.0042dbe0
add esp, 0xc
test esi, esi
jne 0x4325d1
jmp 0x432552
test edi, edi
jne 0x43281b
mov ecx, dword [esp + 0x28]
push ebp
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edi
lea edx, [esp + 0x4c]
push edx
push edi
push eax
lea ebx, [esp + 0x50]
call fcn.00431ff0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4325d1
mov ebx, dword [esp + 0x2c]
mov edi, 3
mov dword [esp + 0x40], 1
mov dword [esp + 0x20], edi
test ebx, ebx
je 0x432867
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.0042edd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4325d1
mov ebx, dword [esp + 0x10]
mov esi, dword [ebx + 0x28]
call fcn.0042d630
mov eax, ebx
call fcn.0042dcf0
jmp 0x432552
mov eax, dword [esp + 0x10]
lea ebx, [esp + 0x54]
mov dword [esp + 0x2c], eax
mov eax, ebx
mov dword [esp + 0x10], ebx
call fcn.0042dcf0
jmp 0x432552
mov esi, 0xffffff32
jmp 0x4325d1
mov esi, 0xffffff90
jmp 0x4325d1
mov esi, 0xffffff99
jmp 0x4325d1
mov esi, 0xfffffff5
jmp 0x4325d1
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x28]
test esi, esi
je 0x4328ce
mov eax, dword [esi]
test eax, eax
je 0x4328c5
push eax
call fcn.0051293f
add esp, 4
push esi
call fcn.0051293f
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x44], 0
mov esi, dword [esp + 0x10]
je 0x4328e7
or dword [esi + 4], 1
jmp 0x4328eb
and dword [esi + 4], 0xfffffffe
test byte [esi + 4], 1
je 0x43295d
mov edx, dword [ebp + 0xc]
test dword [edx + 8], 0x100000
je 0x43295d
xor eax, eax
cmp dword [esi + 0x28], eax
lea edi, [esi + 0x28]
sete al
test eax, eax
je 0x432921
xor eax, eax
lea ecx, [esi + 8]
cmp dword [ecx], 0
jne 0x432921
inc eax
add ecx, 4
cmp eax, 8
jl 0x432911
jmp 0x43295d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
push 0
push 0xa
call ecx
add esp, 8
test eax, eax
je 0x43295d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push 0xa
call eax
add esp, 4
cmp eax, 1
jne 0x43294f
or dword [esi + 8], 0x400
jmp 0x43295d
push 0xa
push 0xa
mov eax, edi
call fcn.0042e7b0
add esp, 8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov dword [edx], ecx
xor eax, eax
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050f0b5
add esp, 0x7c
ret