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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ed7d4
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x51d584]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x51d584]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x14], edi
cmp edi, dword [ebx + 0xc]
jge 0x431718
mov dword [esp + 0xd8], 0xffffffff
test byte [esp + 0x14], 1
je 0x4315d4
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x28]
call fcn.00499ba0
mov eax, dword [ebx + 8]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], ecx
cmp edi, dword [ebx + 0xc]
jl 0x431626
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x5c]
mov byte [esp + 0x26], 0
call fcn.00499b70
mov dword [esp + 0xd8], 1
or dword [esp + 0x14], 2
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x1e]
call fcn.0049a0b0
mov dword [esp + 0xd8], 0xffffffff
test byte [esp + 0x14], 2
je 0x431646
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x50]
call fcn.00499ba0
mov edx, dword [ebx + 8]
mov eax, dword [edx + edi*4]
cmp dword [eax + 0x14], 0x10
jb 0x431654
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
push 1
push ecx
push eax
call fcn.004b93a0
add esp, 0xc
cmp edi, dword [ebx + 0xc]
jl 0x4316a9
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2f], 0
call fcn.00499b70
mov dword [esp + 0xd8], 2
or dword [esp + 0x14], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x27]
call fcn.0049a0b0
mov dword [esp + 0xd8], 0xffffffff
test byte [esp + 0x14], 4
je 0x4316c9
and dword [esp + 0x14], 0xfffffffb
lea ecx, [esp + 0x50]
call fcn.00499ba0
mov edx, dword [ebx + 8]
mov ecx, dword [edx + edi*4]
mov byte [esi], 0xa
mov eax, dword [ecx + 0x10]
inc esi
mov dword [esp + 0x1c], ecx
cmp eax, 0x80
jae 0x4316e8
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x4316f6
push esi
push eax
call fcn.004bdbe0
mov ecx, dword [esp + 0x24]
add esp, 8
cmp dword [ecx + 0x14], 0x10
mov edx, dword [ecx + 0x10]
jb 0x431701
mov ecx, dword [ecx]
push eax
push edx
push ecx
call fcn.004bdb30
inc edi
add esp, 0xc
mov esi, eax
cmp edi, dword [ebx + 0xc]
jl 0x4315b4
mov eax, dword [ebx + 0x64]
shr eax, 1
test al, 1
je 0x431754
mov eax, dword [ebx + 0x48]
mov byte [esi], 0x10
inc esi
test eax, eax
jns 0x43173a
cdq
push esi
push edx
push eax
call fcn.004bdd20
add esp, 0xc
jmp 0x431752
cmp eax, 0x80
jae 0x431748
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x431752
push esi
push eax
call fcn.004bdbe0
add esp, 8
mov esi, eax
mov ecx, dword [ebx + 0x64]
shr ecx, 2
test cl, 1
je 0x43178a
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x43176d
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.004b93a0
mov eax, dword [ebx + 0x18]
add esp, 0xc
push esi
push eax
push 3
call fcn.00427010
add esp, 0xc
mov esi, eax
cmp dword [ebx + 0x20], 0
mov dword [esp + 0x1c], 0
jle 0x431956
mov edi, dword [esp + 0x1c]
cmp edi, dword [ebx + 0x20]
jl 0x4317e5
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x34]
mov byte [esp + 0x26], 0
call fcn.00499b70
mov dword [esp + 0xd8], 3
or dword [esp + 0x14], 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x1e]
call fcn.0049a0b0
mov dword [esp + 0xd8], 0xffffffff
test byte [esp + 0x14], 8
je 0x431805
and dword [esp + 0x14], 0xfffffff7
lea ecx, [esp + 0x28]
call fcn.00499ba0
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + edi*4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
cmp edi, dword [ebx + 0x20]
jl 0x43185a
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x84]
mov byte [esp + 0x27], 0
call fcn.00499b70
mov dword [esp + 0xd8], 4
or dword [esp + 0x14], 0x10
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x1f]
call fcn.0049a0b0
mov dword [esp + 0xd8], 0xffffffff
test byte [esp + 0x14], 0x10
je 0x43187a
and dword [esp + 0x14], 0xffffffef
lea ecx, [esp + 0x78]
call fcn.00499ba0
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx + edi*4]
cmp dword [eax + 0x14], 0x10
jb 0x431888
mov eax, dword [eax]
mov edx, dword [esp + 0x24]
push 1
push edx
push eax
call fcn.004b93a0
add esp, 0xc
cmp edi, dword [ebx + 0x20]
jl 0x4318e0
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0xac]
mov byte [esp + 0x2e], 0
call fcn.00499b70
mov dword [esp + 0xd8], 5
or dword [esp + 0x14], 0x20
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x26]
call fcn.0049a0b0
mov dword [esp + 0xd8], 0xffffffff
test byte [esp + 0x14], 0x20
je 0x431903
and dword [esp + 0x14], 0xffffffdf
lea ecx, [esp + 0xa0]
call fcn.00499ba0
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + ecx*4]
mov byte [esi], 0x22
mov eax, dword [edi + 0x10]
inc esi
cmp eax, 0x80
jae 0x431922
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x43192c
push esi
push eax
call fcn.004bdbe0
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x431937
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.004bdb30
mov edi, dword [esp + 0x28]
inc edi
add esp, 0xc
mov esi, eax
mov dword [esp + 0x1c], edi
cmp edi, dword [ebx + 0x20]
jl 0x4317e5
mov edx, dword [ebx + 0x64]
shr edx, 4
test dl, 1
je 0x4319b5
mov eax, dword [ebx + 0x2c]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x43196f
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.004b93a0
mov edi, dword [ebx + 0x2c]
mov byte [esi], 0x2a
mov eax, dword [edi + 0x10]
add esp, 0xc
inc esi
cmp eax, 0x80
jae 0x431993
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x43199d
push esi
push eax
call fcn.004bdbe0
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x4319a8
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.004bdb30
add esp, 0xc
mov esi, eax
mov eax, dword [ebx + 0x64]
shr eax, 5
test al, 1
je 0x431a13
mov eax, dword [ebx + 0x30]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4319cd
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.004b93a0
mov edi, dword [ebx + 0x30]
mov byte [esi], 0x32
mov eax, dword [edi + 0x10]
add esp, 0xc
inc esi
cmp eax, 0x80
jae 0x4319f1
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x4319fb
push esi
push eax
call fcn.004bdbe0
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x431a06
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.004bdb30
add esp, 0xc
mov esi, eax
mov ecx, dword [ebx + 0x64]
shr ecx, 6
test cl, 1
je 0x431a72
mov eax, dword [ebx + 0x34]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x431a2c
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.004b93a0
mov edi, dword [ebx + 0x34]
mov byte [esi], 0x3a
mov eax, dword [edi + 0x10]
add esp, 0xc
inc esi
cmp eax, 0x80
jae 0x431a50
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x431a5a
push esi
push eax
call fcn.004bdbe0
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x431a65
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.004bdb30
add esp, 0xc
mov esi, eax
mov edx, dword [ebx + 0x64]
shr edx, 7
test dl, 1
je 0x431ab5
mov edi, dword [ebx + 0x38]
test edi, edi
jne 0x431a8c
mov eax, dword [0x525248]
mov edi, dword [eax + 0x38]
mov byte [esi], 0x42
mov eax, dword [edi + 0x14]
inc esi
cmp eax, 0x80
jae 0x431aa1
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x431aab
push esi
push eax
call fcn.004bdbe0
add esp, 8
push eax
mov ecx, edi
call fcn.00432b70
mov esi, eax
mov ecx, dword [ebx + 0x64]
shr ecx, 8
test cl, 1
je 0x431b14
mov eax, dword [ebx + 0x3c]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x431ace
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.004b93a0
mov edi, dword [ebx + 0x3c]
mov byte [esi], 0x4a
mov eax, dword [edi + 0x10]
add esp, 0xc
inc esi
cmp eax, 0x80
jae 0x431af2
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x431afc
push esi
push eax
call fcn.004bdbe0
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x431b07
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.004bdb30
add esp, 0xc
mov esi, eax
mov edx, dword [ebx + 0x64]
shr edx, 9
test dl, 1
je 0x431b73
mov eax, dword [ebx + 0x40]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x431b2d
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.004b93a0
mov edi, dword [ebx + 0x40]
mov byte [esi], 0x52
mov eax, dword [edi + 0x10]
add esp, 0xc
inc esi
cmp eax, 0x80
jae 0x431b51
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x431b5b
push esi
push eax
call fcn.004bdbe0
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x431b66
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.004bdb30
add esp, 0xc
mov esi, eax
mov eax, dword [ebx + 0x64]
shr eax, 0xa
test al, 1
je 0x431bd1
mov eax, dword [ebx + 0x44]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x431b8b
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.004b93a0
mov edi, dword [ebx + 0x44]
mov byte [esi], 0x5a
mov eax, dword [edi + 0x10]
add esp, 0xc
inc esi
cmp eax, 0x80
jae 0x431baf
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x431bb9
push esi
push eax
call fcn.004bdbe0
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x431bc4
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.004bdb30
add esp, 0xc
mov esi, eax
mov ecx, dword [ebx + 0x64]
shr ecx, 0xb
test cl, 1
je 0x431c15
mov edi, dword [ebx + 0x50]
test edi, edi
jne 0x431bec
mov edx, dword [0x525248]
mov edi, dword [edx + 0x50]
mov byte [esi], 0x62
mov eax, dword [edi + 0x20]
inc esi
cmp eax, 0x80
jae 0x431c01
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x431c0b
push esi
push eax
call fcn.004bdbe0
add esp, 8
push eax
mov ecx, edi
call fcn.00433770
mov esi, eax
mov eax, dword [ebx + 0x64]
shr eax, 0xc
test al, 1
je 0x431c58
mov edi, dword [ebx + 0x54]
test edi, edi
jne 0x431c2f
mov ecx, dword [0x525248]
mov edi, dword [ecx + 0x54]
mov byte [esi], 0x6a
mov eax, dword [edi + 0x18]
inc esi
cmp eax, 0x80
jae 0x431c44
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x431c4e
push esi
push eax
call fcn.004bdbe0
add esp, 8
push eax
mov ecx, edi
call fcn.00434b70
mov esi, eax
mov edx, dword [ebx + 0x64]
shr edx, 0xd
test dl, 1
je 0x431c82
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x431c72
mov eax, dword [0x525248]
mov eax, dword [eax + 0x58]
mov edi, eax
mov ecx, esi
mov eax, 0xe
call fcn.004411d0
mov esi, eax
mov ecx, dword [ebx + 0x64]
shr ecx, 0xe
test cl, 1
je 0x431cc6
mov edi, dword [ebx + 0x5c]
test edi, edi
jne 0x431c9d
mov edx, dword [0x525248]
mov edi, dword [edx + 0x5c]
mov byte [esi], 0x7a
mov eax, dword [edi + 0x2c]
inc esi
cmp eax, 0x80
jae 0x431cb2
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x431cbc
push esi
push eax
call fcn.004bdbe0
add esp, 8
push eax
mov ecx, edi
call fcn.00435b00
mov esi, eax
mov eax, dword [ebx + 0x64]
shr eax, 0xf
test al, 1
je 0x431cfc
mov cl, byte [ebx + 0x4c]
xor eax, eax
mov word [esi], 0x180
add esi, 2
test cl, cl
setne al
cmp eax, 0x80
jae 0x431cf0
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x431cfa
push esi
push eax
call fcn.004bdbe0
add esp, 8
mov esi, eax
test byte [ebx + 0x66], 1
je 0x431d2e
mov cl, byte [ebx + 0x4d]
xor eax, eax
mov word [esi], 0x188
add esi, 2
test cl, cl
setne al
cmp eax, 0x80
jae 0x431d22
mov byte [esi], al
lea eax, [esi + 1]
jmp 0x431d2c
push esi
push eax
call fcn.004bdbe0
add esp, 8
mov esi, eax
mov eax, dword [ebx + 4]
add ebx, 4
test eax, eax
je 0x431d4b
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x431d4b
push esi
push ebx
call fcn.004b9e10
add esp, 8
jmp 0x431d4d
mov eax, esi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004809b9
mov esp, ebp
pop ebp
ret 4