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

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x54]
push ebx
push ebp
mov ebp, dword [eax]
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
shl ecx, 4
lea ebx, [ecx + eax + 0x30]
movzx ecx, byte [ebx + 0x34]
mov dword [esp + 0xc], esi
mov esi, dword [eax + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], esi
lea esi, [ecx*8]
sub esi, ecx
lea eax, [eax + esi*8 + 8]
mov esi, dword [eax + 0x18]
push edi
mov dword [esp + 0x58], eax
mov eax, dword [ebx]
mov edi, eax
shr edi, 0x19
xor edx, edx
and edi, 1
test eax, 0x800000
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], edi
je 0x4314f2
test byte [esp + 0x68], 0x40
mov dword [esp + 0x5c], 1
je 0x4314f6
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x10]
call fcn.004176a0
mov dword [esp + 0x3c], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x10]
call fcn.004176a0
cmp byte [ebx + 0x34], 0
mov dword [esp + 0x50], eax
mov dword [ebx + 0x2c], eax
jbe 0x431545
mov ecx, dword [esp + 0x58]
test byte [ecx + 0x15], 8
je 0x431545
add dword [ebp + 0x48], 1
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x48]
xor ecx, ecx
push edx
lea edx, [ecx + 7]
mov dword [ebx + 0x18], eax
call fcn.004189e0
add esp, 4
mov edx, dword [ebx]
test edx, 0x8000000
je 0x4316e2
mov eax, dword [ebx + 0x10]
mov edi, dword [eax]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov eax, ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], edx
call fcn.004090e0
lea esi, [edi + 2]
mov ecx, ebp
mov dword [esp + 0x58], esi
call fcn.00408f70
cmp edi, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 1
jl 0x4315fd
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov eax, edi
mov edi, edi
xor edi, edi
test eax, eax
jle 0x4315ee
cmp dword [edx + edi*8], ecx
je 0x4315b4
add edi, 1
cmp edi, eax
jl 0x4315a6
jmp 0x4315ee
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
lea esi, [eax + ecx + 1]
mov eax, dword [esp + 0x4c]
lea edx, [edi + edi*2]
mov eax, dword [eax + edx*4 + 8]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + ecx*8]
mov ecx, dword [ecx + 0xc]
mov eax, ebp
call fcn.00419f60
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
cmp edi, eax
je 0x4315fd
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x30], ecx
jle 0x4315a0
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esi + 0x14]
push edx
mov eax, edi
mov edx, 7
call fcn.004189e0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
push edx
lea eax, [edi + 1]
add ecx, 0xffffffff
mov edx, 7
call fcn.004189e0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x20]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0xfffffffe
push eax
push ecx
mov ecx, dword [esp + 0x4c]
mov eax, edi
mov edi, dword [esp + 0x20]
push 0x80
call fcn.004189b0
mov eax, dword [esp + 0x54]
add esp, 0x14
test eax, eax
mov dword [esi + 0x1c], 0
jle 0x4316b2
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
add edi, 8
add edx, 4
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
cmp byte [eax], 0
je 0x4316a3
mov eax, dword [edi]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*8]
mov esi, ebx
call fcn.004086c0
add dword [esp + 0x40], 8
add edi, 0xc
sub dword [esp + 0x4c], 1
jne 0x431684
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov byte [ebx + 0x35], 0x83
mov dword [ebx + 0x38], ecx
call fcn.00409c90
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
mov dword [ebx + 0x3c], eax
mov eax, ebp
call fcn.0040f1a0
call fcn.0040ccb0
jmp 0x431dbb
test edx, 0x1000
je 0x431767
mov eax, ebp
call fcn.00408fe0
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0
push 3
push edx
mov esi, eax
mov eax, dword [esp + 0x78]
push eax
push 0xffffffffffffffff
push edi
push ecx
mov dword [esp + 0x60], esi
call fcn.004215a0
push esi
push eax
mov esi, ebx
mov eax, esi
mov ecx, ebp
call fcn.00430730
mov edx, dword [esp + 0x34]
mov ebx, eax
mov eax, dword [esi + 0x28]
push edx
mov ecx, ebx
mov edx, 0x15
mov dword [esp + 0x50], eax
call fcn.004189e0
mov eax, dword [esp + 0x50]
push ebx
push eax
mov eax, dword [esp + 0x40]
push edi
push 0x34
call fcn.00417700
push 0xffffffffffffffff
push edi
mov edx, ebp
call fcn.004090f0
add esp, 0x40
mov byte [esi + 0x35], 0x89
mov ebx, esi
jmp 0x431dbb
test edx, 0x2000
je 0x431970
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
push 0
push 0x24
push ecx
push edx
push 0xffffffffffffffff
push esi
push eax
mov dword [esp + 0x50], 0x89
mov dword [esp + 0x68], 0
call fcn.004215a0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push 0
push 0x18
push ecx
push edx
push 0xffffffffffffffff
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
push esi
push eax
call fcn.004215a0
add esp, 0x38
test edi, edi
mov dword [esp + 0x20], eax
je 0x4317de
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x24], 0
je 0x43185d
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x5c]
push eax
push ecx
mov ebx, ebp
mov byte [esp + 0x40], 0x2f
mov byte [esp + 0x41], 0x2d
mov byte [esp + 0x42], 0x2c
mov byte [esp + 0x43], 0x2e
call fcn.00409080
movzx ecx, byte [esi]
mov edx, dword [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x20]
push edi
push edx
movzx edx, byte [esp + ecx - 5]
push eax
mov eax, dword [esp + 0x24]
push edx
call fcn.00417700
add esp, 0x18
mov ecx, 1
mov eax, ebp
call fcn.0040f1c0
mov esi, dword [esp + 0x5c]
mov edx, ebp
call fcn.00408fa0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
call fcn.004086c0
mov edi, dword [esp + 0x30]
mov ebx, esi
jmp 0x43187b
mov eax, dword [esp + 0x10]
xor edx, edx
test edi, edi
sete dl
push eax
mov eax, dword [esp + 0x40]
mov ecx, esi
lea edx, [edx + edx + 0x3f]
call fcn.004189e0
add esp, 4
cmp dword [esp + 0x20], 0
je 0x4318da
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
add dword [ebp + 0x48], 1
mov esi, dword [ebp + 0x48]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
mov eax, ebp
mov dword [esp + 0x4c], esi
call fcn.00419f60
mov edx, dword [esp + 0x5c]
mov al, byte [edx]
cmp al, 0x4f
je 0x4318c0
cmp al, 0x4d
je 0x4318c0
xor eax, eax
test edi, edi
setne al
lea eax, [eax + eax + 0x4d]
mov dword [esp + 0x34], eax
jmp 0x4318cf
xor ecx, ecx
test edi, edi
sete cl
lea ecx, [ecx + ecx + 0x4e]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x20]
mov esi, ebx
call fcn.004086c0
mov eax, dword [esp + 0x10]
call fcn.00409c90
mov ecx, dword [esp + 0x18]
test edi, edi
sete dl
add dl, 0x42
cmp dword [esp + 0x24], 0
mov byte [ebx + 0x35], dl
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], eax
jne 0x43190a
cmp dword [esp + 0x20], 0
jne 0x43190a
mov byte [ebx + 0x36], 1
cmp dword [esp + 0x34], 0x89
je 0x431dbb
mov eax, ebp
call fcn.00408fe0
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov ebx, eax
push esi
mov ecx, edi
mov edx, 0x3d
mov dword [esp + 0x48], ebx
call fcn.004189e0
push 0xffffffffffffffff
push edi
mov edx, ebp
call fcn.004090f0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
push ebx
push edx
push eax
push ecx
mov eax, esi
call fcn.00417700
add esp, 0x1c
mov dl, 0x6b
mov eax, esi
call fcn.00409c40
mov ebx, dword [esp + 0x14]
jmp 0x431dbb
test edx, 0x30000
je 0x431d8b
mov edi, dword [ebx + 0x20]
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
xor eax, eax
test byte [esp + 0x68], 1
mov dword [esp + 0x3c], edi
mov edi, dword [esi + 8]
mov edi, dword [edi + ecx*4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
je 0x4319be
test edx, 0x1000000
je 0x4319be
cmp dword [esi + 4], ecx
jle 0x4319be
mov eax, 1
mov dword [esp + 0x54], eax
test edx, 0x100000
je 0x4319ef
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x18]
push esi
push 0x18
push edx
mov edx, dword [esp + 0x28]
push eax
push edi
push ecx
push edx
call fcn.004215a0
mov dword [esp + 0x3c], eax
add esp, 0x1c
mov eax, 1
test dword [ebx], 0x200000
je 0x431a20
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
push esi
push 0x24
push eax
mov eax, dword [esp + 0x28]
push ecx
push edi
push edx
push eax
call fcn.004215a0
mov dword [esp + 0x48], eax
add esp, 0x1c
mov eax, 1
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x74]
push edx
push eax
push ecx
mov edi, ebx
push edi
push ebp
call fcn.00430c10
mov ebx, dword [esp + 0x54]
mov edx, dword [ebp]
add esp, 0x1c
mov dword [esp + 0x34], eax
call fcn.00414160
mov edx, dword [edi + 0x28]
mov edi, dword [esp + 0x24]
xor ecx, ecx
cmp edi, dword [esi + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], edx
jge 0x431a8a
mov eax, dword [esi + 0x28]
xor edx, edx
cmp byte [edi + eax], cl
sete dl
cmp dword [esp + 0x30], edx
jne 0x431a8a
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
jmp 0x431a8e
mov eax, dword [esp + 0x2c]
cmp eax, ecx
je 0x431aa3
test byte [eax + 0x10], 0x28
jne 0x431aa3
mov dword [esp + 0x48], ecx
mov edx, 1
jmp 0x431aac
mov edx, 1
mov dword [esp + 0x48], edx
mov esi, dword [esp + 0x20]
cmp esi, ecx
je 0x431abe
test byte [esi + 0x10], 0x28
mov dword [esp + 0x58], ecx
je 0x431ac2
mov dword [esp + 0x58], edx
cmp eax, ecx
jne 0x431ace
cmp edi, ecx
mov dword [esp + 0x4c], ecx
jle 0x431ad2
mov dword [esp + 0x4c], edx
cmp eax, ecx
mov ebx, edi
je 0x431b3a
mov eax, dword [eax]
mov ebx, dword [eax + 0xc]
mov ecx, dword [esp + 0x34]
lea esi, [ecx + edi]
mov ecx, ebx
mov eax, ebp
mov dword [esp + 0x54], ebx
call fcn.00419f60
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push edx
push esi
push eax
mov ecx, ebx
call fcn.00419fc0
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x431b69
mov esi, dword [esp + 0x38]
mov bl, byte [esi + edi]
mov eax, dword [esp + 0x54]
call fcn.0040ce90
cmp al, 0x62
jne 0x431b24
mov byte [esi + edi], al
mov dl, byte [esi + edi]
mov ecx, dword [esp + 0x54]
call fcn.00409270
test eax, eax
je 0x431b69
mov byte [esi + edi], 0x62
jmp 0x431b69
cmp dword [esp + 0x54], ecx
je 0x431b6c
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
lea eax, [ecx + edi]
xor ecx, ecx
push edx
lea edx, [ecx + 0xa]
call fcn.004189e0
add esp, 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 1
lea ebx, [edi + 1]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push ebp
mov ecx, ebx
mov edx, esi
call fcn.004193b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x34]
movzx ecx, byte [eax + edx*2 + 0x45f5a4]
mov edx, dword [esp + 0x40]
push ebx
mov ebx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esi
mov edi, ebx
call fcn.00418980
mov edi, dword [esp + 0x30]
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x431c48
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
mov edx, edi
add esi, edx
mov dword [esp + 0x4c], ecx
mov ecx, 1
mov edi, esi
mov eax, ebp
call fcn.0040ccf0
mov edi, dword [esp + 0x4c]
mov ecx, edi
call fcn.00419f60
mov eax, dword [esp + 0x28]
push eax
push esi
push ebx
mov ecx, edi
call fcn.00419fc0
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x30]
add esp, 0xc
test esi, esi
je 0x431c2c
mov bl, byte [esi + edi]
mov eax, dword [esp + 0x4c]
call fcn.0040ce90
cmp al, 0x62
jne 0x431c18
mov byte [esi + edi], al
mov dl, byte [esi + edi]
mov ecx, dword [esp + 0x4c]
call fcn.00409270
test eax, eax
je 0x431c2c
mov byte [esi + edi], 0x62
mov edx, dword [esp + 0x34]
add edi, 1
push ebp
mov eax, esi
mov ecx, edi
call fcn.004193b0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
add esp, 4
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp]
push ecx
push edx
call fcn.00410460
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp]
push eax
push ecx
call fcn.00410460
add esp, 0x10
mov eax, ebx
call fcn.00409c90
cmp dword [esp + 0x20], 0
mov edx, dword [esp + 0x14]
mov dword [edx + 0x3c], eax
jne 0x431c87
cmp dword [esp + 0x24], 0
jne 0x431c87
xor eax, eax
jmp 0x431c8c
mov eax, 1
mov ecx, dword [esp + 0x30]
add ecx, 1
imul ecx, eax
movzx eax, byte [ecx + 0x45f5ac]
cmp eax, 0x89
je 0x431ccc
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
push edi
push eax
mov eax, esi
mov edi, ebx
call fcn.00418980
mov edx, dword [esp + 0x38]
add esp, 8
cmp dword [esp + 0x58], edx
mov eax, ebx
setne dl
call fcn.00409c40
mov eax, ebp
call fcn.00408fe0
mov esi, eax
mov eax, dword [esp + 0x14]
test dword [eax], 0x300000
je 0x431d09
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
push esi
push ecx
push edx
push 0x1c
mov eax, ebx
call fcn.00417700
mov eax, dword [esp + 0x60]
push ebx
mov ecx, esi
mov edx, 0x49
call fcn.004189e0
add esp, 0x14
mov edx, ebp
call fcn.00408fa0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
call fcn.004086c0
mov eax, dword [esp + 0x20]
call fcn.004086c0
cmp dword [esp + 0x5c], 0
jne 0x431d71
mov eax, ebp
call fcn.00408fe0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov ebx, eax
push esi
mov edx, 0x48
mov dword [esp + 0x48], ebx
call fcn.004189e0
mov edi, dword [esp + 0x1c]
push 0xffffffffffffffff
push edi
mov edx, ebp
call fcn.004090f0
push esi
mov eax, ebx
mov ecx, edi
mov edx, 0x30
call fcn.004189e0
mov esi, dword [esp + 0x24]
add esp, 0x10
cmp dword [esp + 0x30], 0
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
sete al
add al, 0x42
mov byte [esi + 0x35], al
mov dword [esi + 0x38], ecx
jmp 0x431dbb
mov dl, byte [edi + 0x45f5b0]
mov eax, dword [esp + 0x10]
mov byte [ebx + 0x35], dl
mov dword [ebx + 0x38], esi
movzx edx, byte [edi + 0x45f5b4]
push eax
mov eax, dword [esp + 0x40]
mov ecx, esi
call fcn.004189e0
add esp, 4
add eax, 1
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x36], 1
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edx, dword [edi + 4]
call fcn.00408860
mov esi, dword [edi + 0x1c]
mov edi, dword [edi + 0x14]
not eax
and dword [esp + 0x6c], eax
not edx
and dword [esp + 0x70], edx
test edi, edi
jle 0x431e30
test byte [esi + 0x12], 6
jne 0x431e26
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0x6c]
and ecx, dword [esp + 0x70]
or eax, ecx
je 0x431e03
mov ecx, dword [esp + 0x64]
mov byte [ecx + 7], 1
jmp 0x431e26
cmp dword [ebx + 0x18], 0
mov eax, dword [esi]
je 0x431e11
test byte [eax + 2], 1
je 0x431e26
mov edx, dword [esp + 0x50]
push 8
push edx
push eax
push ebp
call fcn.0042f970
add esp, 0x10
or byte [esi + 0x12], 4
sub edi, 1
add esi, 0x28
test edi, edi
jg 0x431de1
cmp dword [ebx + 0x18], 0
je 0x431eaa
mov ecx, dword [esp + 0x10]
mov eax, ecx
call fcn.00409c90
push ecx
mov ecx, 1
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x18]
lea edx, [ecx + 6]
call fcn.004189e0
add esp, 4
mov eax, ebp
call fcn.0040cc80
mov edi, dword [esp + 0x1c]
mov esi, dword [edi + 0x1c]
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jle 0x431eaa
lea ecx, [ecx]
test byte [esi + 0x12], 6
jne 0x431e9f
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0x6c]
and ecx, dword [esp + 0x70]
or eax, ecx
jne 0x431e9f
mov eax, dword [esp + 0x50]
mov ecx, dword [esi]
push 8
push eax
push ecx
push ebp
call fcn.0042f970
add esp, 0x10
or byte [esi + 0x12], 4
add ebx, 1
add esi, 0x28
cmp ebx, dword [edi + 0x14]
jl 0x431e70
mov esi, dword [esp + 0x44]
mov edx, ebp
call fcn.00408fa0
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret