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

Disassembly:
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
push ebx
movzx ebx, byte [eax + 0x29]
push ebp
xor ebp, ebp
cmp ebx, 1
push esi
mov esi, dword [ecx]
push edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x58], ebx
jg 0x43206b
lea edi, [ebp + 1]
jmp 0x43207a
mov edi, ebx
sub edi, 2
neg edi
sbb edi, edi
and edi, 5
add edi, 5
mov eax, dword [eax + 8]
cmp eax, ebp
mov dword [esp + 0x24], edi
je 0x432090
cmp word [esp + 0x7c], bp
je 0x432090
mov eax, dword [eax]
jmp 0x432092
xor eax, eax
lea ecx, [ebx + 8]
imul ecx, edi
mov dword [esp + 0x3c], eax
lea eax, [eax + ecx*4]
add eax, eax
cmp esi, ebp
je 0x4320ab
cmp byte [esi + 0x41], 0
jne 0x4320c8
cdq
push edx
push eax
call fcn.0040dcf0
mov edx, eax
add esp, 8
cmp edx, ebp
mov dword [esp + 0x28], edx
jne 0x4320d5
cmp esi, ebp
je 0x4320c8
mov byte [esi + 0x41], 1
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, edi
shl ecx, 5
lea esi, [ecx + edx]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
lea eax, [edi + edi]
add ecx, esi
cmp eax, ebp
mov dword [esp + 0x34], esi
jle 0x43211f
lea edi, [ebx*4]
add edx, 0x18
mov dword [edx], ecx
sub eax, 1
add edx, 0x20
add ecx, edi
cmp eax, ebp
jg 0x432111
mov edi, dword [esp + 0x3c]
cmp edi, ebp
je 0x432139
lea edx, [edi + edi]
push edx
push ebp
push ecx
mov dword [esp + 0x38], ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x19c]
cmp eax, 0x30
jb 0x43214d
mov eax, 0x30
cmp edi, ebp
mov word [esi + 0x10], ax
mov eax, 1
je 0x432168
cmp ebx, ebp
jle 0x432163
or ecx, 0xffffffff
jmp 0x432165
mov ecx, edi
mov byte [esi + 0x16], cl
cmp ebx, ebp
mov dword [esp + 0x30], ebp
jle 0x43267f
jmp 0x432180
test eax, eax
mov dword [esp + 0x20], 0
jle 0x4325fc
mov ecx, dword [esp + 0x34]
add ecx, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], eax
nop
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x10]
test ebx, ebx
mov dword [esp + 0x4c], ebx
je 0x4325ec
mov eax, dword [esp + 0x18]
mov cl, byte [eax + 6]
mov edx, dword [eax - 0xc]
mov esi, dword [eax - 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x13], cl
xor ecx, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov eax, esi
mov ecx, edx
not eax
and eax, dword [ebx]
not ecx
and ecx, dword [ebx + 4]
mov dword [esp + 0x70], edx
or eax, ecx
jne 0x4325dd
mov edi, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov eax, edi
mov ecx, ebp
and eax, esi
and ecx, edx
or eax, ecx
jne 0x4325dd
mov edx, dword [esp + 0x18]
movzx eax, word [edx]
mov cx, word [ebx + 0x14]
add cx, ax
movzx eax, cx
movzx ecx, word [ebx + 0x12]
cmp cx, ax
jl 0x432250
movsx edx, ax
movsx eax, cx
lea ebx, [edx + 0x31]
cmp eax, ebx
jg 0x432282
lea ebx, [edx + 0x1f]
cmp eax, ebx
jle 0x43223a
add ecx, 1
movzx eax, cx
mov dword [esp + 0x14], eax
jmp 0x432289
sub eax, edx
movzx dx, byte [eax + str._n_n_t_t_b_b_a_a_a]
add dx, cx
movzx eax, dx
mov dword [esp + 0x14], eax
jmp 0x432289
movsx edx, cx
movsx ecx, ax
lea ebx, [edx + 0x31]
cmp ecx, ebx
jle 0x432266
movzx ecx, ax
mov dword [esp + 0x14], ecx
jmp 0x432289
lea ebx, [edx + 0x1f]
cmp ecx, ebx
jle 0x432275
add eax, 1
movzx edx, ax
jmp 0x432285
sub ecx, edx
movzx cx, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add cx, ax
movzx edx, cx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 4]
mov dx, word [esp + 0x14]
cmp dx, cx
jl 0x4322ca
movsx ecx, cx
movsx eax, dx
lea ebx, [ecx + 0x31]
cmp eax, ebx
jg 0x432303
lea ebx, [ecx + 0x1f]
cmp eax, ebx
jle 0x4322b6
add dword [esp + 0x14], 1
jmp 0x432303
sub eax, ecx
movzx cx, byte [eax + str._n_n_t_t_b_b_a_a_a]
add dx, cx
mov word [esp + 0x14], dx
jmp 0x432303
movsx edx, dx
movsx eax, cx
lea ebx, [edx + 0x31]
cmp eax, ebx
jle 0x4322e0
movzx edx, cx
mov dword [esp + 0x14], edx
jmp 0x432303
lea ebx, [edx + 0x1f]
cmp eax, ebx
jle 0x4322ef
add ecx, 1
movzx eax, cx
jmp 0x4322ff
sub eax, edx
movzx dx, byte [eax + str._n_n_t_t_b_b_a_a_a]
add dx, cx
movzx eax, dx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
movzx eax, word [ecx]
mov dx, word [ebx + 0x16]
or ebp, dword [esp + 0x70]
add dx, ax
movzx eax, dx
or edi, esi
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x78]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebp
jge 0x432360
movzx eax, word [esi + 0x22]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esi + 8]
push ebx
push edx
push eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
push eax
push ecx
push esi
call fcn.0042fd90
add esp, 0x1c
mov byte [esp + 0x13], al
jmp 0x43236e
mov edx, dword [ecx - 8]
mov eax, dword [ecx - 4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov al, byte [esp + 0x13]
test al, al
jl 0x43246b
mov ecx, dword [esp + 0x3c]
movsx edi, al
cmp edi, ecx
jge 0x43246b
mov edx, dword [esp + 0x2c]
cmp word [edx + edi*2], 0
jne 0x4323f2
mov eax, ecx
sub eax, edi
imul eax, eax, 0x64
cdq
idiv ecx
cdq
push edx
push eax
call fcn.00405b20
sub ax, 0x42
add esp, 8
cmp word [esp + 0x7c], 0xa
movzx ebp, ax
jg 0x4323bc
xor eax, eax
jmp 0x4323d2
movsx eax, word [esp + 0x7c]
cdq
push edx
push eax
call fcn.00405b20
movsx eax, ax
add esp, 8
sub eax, 0x21
mov ecx, dword [esp + 0x7c]
add eax, ebp
test word [esi + 0x22], 0x400
lea edx, [eax + ecx + 0x10]
movzx eax, dx
je 0x4323ea
add eax, 0x10
mov ecx, dword [esp + 0x2c]
mov word [ecx + edi*2], ax
mov edx, dword [esp + 0x2c]
movzx eax, word [edx + edi*2]
mov dx, word [esp + 0x14]
cmp dx, ax
movsx ecx, ax
jl 0x43243b
movsx eax, dx
lea esi, [ecx + 0x31]
cmp eax, esi
jle 0x432416
movzx edi, dx
jmp 0x432470
lea esi, [ecx + 0x1f]
cmp eax, esi
jle 0x432429
mov eax, dword [esp + 0x14]
add eax, 1
movzx edi, ax
jmp 0x432470
sub eax, ecx
movzx cx, byte [eax + str._n_n_t_t_b_b_a_a_a]
add cx, dx
movzx edi, cx
jmp 0x432470
movsx edx, dx
lea esi, [edx + 0x31]
cmp ecx, esi
jle 0x43244a
movzx edi, ax
jmp 0x432470
lea esi, [edx + 0x1f]
cmp ecx, esi
jle 0x432459
add eax, 1
movzx edi, ax
jmp 0x432470
sub ecx, edx
movzx dx, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add dx, ax
movzx edi, dx
jmp 0x432470
movzx edi, word [esp + 0x14]
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
xor eax, eax
test esi, esi
jle 0x4324b1
mov edi, edi
mov ecx, dword [ebp]
cmp ecx, dword [esp + 0x64]
jne 0x4324a1
mov edx, dword [ebp + 4]
cmp edx, dword [esp + 0x68]
jne 0x4324a1
mov cl, byte [ebp + 0x16]
xor cl, byte [esp + 0x13]
mov esi, dword [esp + 0x20]
test cl, cl
jns 0x4324ad
add eax, 1
add ebp, 0x20
cmp eax, esi
jl 0x432480
jmp 0x4324b1
cmp eax, esi
jl 0x4324f5
cmp esi, dword [esp + 0x24]
jl 0x4324e3
mov eax, dword [esp + 0x48]
cmp di, ax
jg 0x4325dd
jne 0x4324d6
mov dx, word [esp + 0x14]
cmp dx, word [esp + 0x44]
jge 0x4325dd
mov ebp, dword [esp + 0x40]
shl ebp, 5
add ebp, dword [esp + 0x1c]
jmp 0x432513
mov ebp, esi
add esi, 1
shl ebp, 5
add ebp, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
jmp 0x432513
movzx eax, word [ebp + 0x12]
cmp ax, di
jl 0x4325dd
jne 0x432513
mov ax, word [ebp + 0x10]
cmp ax, word [esp + 0x4c]
jle 0x4325dd
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0x10]
or ecx, dword [ebx + 8]
mov edx, dword [eax - 0xc]
or edx, dword [ebx + 0xc]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x5c]
mov word [ebp + 0x12], di
mov edi, dword [esp + 0x30]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x60]
mov dword [ebp + 8], ecx
mov cx, word [esp + 0x4c]
mov dword [ebp + 0xc], edx
mov dx, word [esp + 0x14]
mov word [ebp + 0x10], cx
mov cl, byte [esp + 0x13]
add edi, edi
mov word [ebp + 0x14], dx
mov byte [ebp + 0x16], cl
mov edx, dword [eax + 8]
mov eax, dword [ebp + 0x18]
add edi, edi
push edi
push edx
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp + 0x18]
add esp, 0xc
cmp esi, dword [esp + 0x24]
mov dword [edi + ecx], ebx
jl 0x4325dd
mov eax, dword [esp + 0x1c]
movzx esi, word [eax + 0x12]
movzx edi, word [eax + 0x10]
mov eax, 1
cmp dword [esp + 0x24], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
jle 0x4325dd
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
add ecx, 0x32
jmp 0x4325b0
movzx edx, word [ecx]
cmp dx, si
jg 0x4325c0
jne 0x4325cb
cmp word [ecx + 2], di
jle 0x4325cb
movzx edi, word [ecx + 2]
movzx esi, dx
mov dword [esp + 0x40], eax
add eax, 1
add ecx, 0x20
cmp eax, ebp
jl 0x4325b0
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
mov ebx, dword [ebx + 0x34]
test ebx, ebx
mov dword [esp + 0x4c], ebx
jne 0x4321b3
add dword [esp + 0x18], 0x20
sub dword [esp + 0x50], 1
jne 0x4321a0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add ecx, 1
cmp ecx, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], ecx
jl 0x432180
test eax, eax
jne 0x43267f
mov edi, dword [esp + 0x54]
push str.no_query_solution
call fcn.0041f440
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
je 0x432665
cmp dword [eax + 0x1d8], 0
je 0x432665
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
call fcn.0040cda0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x28]
push eax
call fcn.0040a140
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp eax, 1
mov ebp, dword [esp + 0x34]
jle 0x4326a4
lea ecx, [ebp + 0x20]
add eax, 0xffffffff
mov edi, edi
mov dx, word [ebp + 0x12]
cmp dx, word [ecx + 0x12]
jle 0x43269c
mov ebp, ecx
add ecx, 0x20
sub eax, 1
jne 0x432690
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x78]
xor ecx, ecx
test ebx, ebx
jle 0x4326e8
lea eax, [esi + 0x30c]
jmp 0x4326c0
mov edx, dword [ebp + 0x18]
mov edi, dword [edx + ecx*4]
mov dword [eax + 0x14], edi
mov dl, byte [edi + 0x10]
mov byte [eax], dl
mov edi, dword [esi + 4]
movzx edx, dl
lea edx, [edx + edx*8]
mov edx, dword [edi + edx*8 + 0x34]
mov dword [eax - 0x28], edx
add ecx, 1
add eax, 0x50
cmp ecx, ebx
jl 0x4326c0
movzx eax, word [esi + 0x22]
test eax, 0x400
je 0x43273a
test eax, 0x200
jne 0x43273a
cmp byte [esi + 0x28], 0
jne 0x43273a
cmp word [esp + 0x7c], 0
je 0x43273a
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + ebx*4 - 4]
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x6c]
push eax
push edx
lea eax, [ebx - 1]
push eax
push 0x200
push ebp
push ecx
push esi
call fcn.0042fd90
mov edx, dword [esi + 0xc]
movsx eax, al
add esp, 0x1c
cmp eax, dword [edx]
jne 0x43273a
mov byte [esi + 0x28], 2
mov ecx, dword [esi + 8]
xor edi, edi
cmp ecx, edi
je 0x4327d0
movzx edx, word [esi + 0x22]
test edx, 0x200
je 0x432761
movsx eax, byte [ebp + 0x16]
cmp eax, dword [ecx]
jne 0x43277b
mov byte [esi + 0x28], 2
jmp 0x43277b
mov al, byte [ebp + 0x16]
test al, al
mov byte [esi + 0x24], al
jge 0x43276f
mov byte [esi + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
test edx, 0x800
je 0x4327d0
movsx edx, byte [esi + 0x24]
cmp edx, dword [ecx]
jne 0x4327d0
cmp ebx, edi
jle 0x4327d0
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x5c]
push eax
mov eax, dword [edx + ebx*4 - 4]
push eax
add ebx, 0xffffffff
push ebx
push edi
push ebp
push ecx
push esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
call fcn.0042fd90
mov ecx, dword [esi + 8]
movsx eax, al
add esp, 0x1c
cmp eax, dword [ecx]
jne 0x4327d0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov byte [esi + 0x25], 1
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x38]
cmp eax, edi
mov cx, word [ebp + 0x10]
mov word [esi + 0x20], cx
je 0x4327ff
cmp dword [eax + 0x1d8], edi
je 0x4327ff
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
call fcn.0040cda0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp dword [0x47a008], edi
je 0x43285c
mov eax, dword [0x47c4a8]
cmp eax, edi
je 0x43281a
push eax
call dword [0x47a05c]
add esp, 4
mov esi, dword [esp + 0x28]
push esi
call dword [0x47a038]
sub dword [0x47c300], eax
sub dword [0x47c324], 1
add esp, 4
push esi
call dword [0x47a030]
mov eax, dword [0x47c4a8]
add esp, 4
cmp eax, edi
je 0x43286a
push eax
call dword [0x47a064]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov edx, dword [esp + 0x28]
push edx
call dword [0x47a030]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret