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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 8]
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
mov byte [esp + 0xe], dl
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x1c], esi
cmp dword [eax + 0x30], ecx
jg 0x47269c
push edx
push edx
push edx
push 0x14
call fcn.00423ce0
add esp, 0x10
mov dword [esp + 0x40], eax
jmp 0x4726c6
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
mov esi, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
mov byte [eax + 3], dl
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x14
mov dword [esp + 0x40], ecx
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x10]
mov ebx, dword [edi + 0x14]
lea eax, [eax + eax*2]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ecx + 0x40]
shl eax, 4
xor edx, edx
add eax, ebx
xor ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
cmp ebx, eax
jae 0x472933
mov dword [esp + 0x24], 1
lea esp, [esp]
mov edx, dword [edi]
or edx, dword [edi + 4]
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
jne 0x4727ae
test byte [ebx + 0xa], 2
jne 0x4727ae
test byte [eax + 4], 1
jne 0x4727ae
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x30]
push ecx
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x78], 3
mov dword [esp + 0x68], 0x439240
mov dword [esp + 0x6c], 0x439330
mov dword [esp + 0x7c], eax
call fcn.004349c0
add esp, 8
cmp byte [esp + 0x70], 0
je 0x4727ae
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0
push 0
push ecx
push eax
call fcn.004380a0
mov edx, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push edx
call fcn.00437c00
add esp, 0x14
mov dword [esp + 0x20], eax
mov edx, dword [ebx + 0x14]
cmp edx, dword [esi + 0x30]
jne 0x47291b
test byte [ebx + 0xc], 0x82
je 0x47291b
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x47291b
mov eax, dword [ebx + 0x1c]
test eax, eax
js 0x47291b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 4]
mov esi, dword [ebx]
add eax, eax
mov dl, byte [ecx + eax*8 + 0xd]
mov byte [esp + 0x44], dl
mov eax, dword [esp + 0x44]
push eax
call fcn.00436ed0
add esp, 4
test eax, eax
je 0x47291b
mov esi, dword [ebx + 0x1c]
cmp esi, 0x40
jl 0x472827
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x80000000
jmp 0x47283d
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.004aa860
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
cmp byte [esp + 0xe], 0
jne 0x47286b
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
add esi, esi
mov edx, dword [ecx + esi*8]
push edx
push eax
push 0x4b80f8
push 0x11c
call fcn.00406270
add esp, 0x10
mov byte [esp + 0xe], 1
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
and eax, dword [esp + 0x48]
and ecx, dword [esp + 0x4c]
or eax, ecx
jne 0x47291b
movzx eax, word [edi + 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
cmp eax, dword [esp + 0x24]
jge 0x4728f8
mov esi, dword [esp + 0x24]
add esi, 7
and esi, 0xfffffff8
lea ecx, [esi*4]
push 0
push ecx
mov eax, edx
call fcn.00404490
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x47328e
movzx edx, word [edi + 0x2c]
mov eax, dword [edi + 0x30]
mov ecx, dword [esp + 0x30]
add edx, edx
add edx, edx
push edx
push eax
push ecx
call fcn.004a7950
mov eax, dword [edi + 0x30]
lea edx, [edi + 0x38]
add esp, 0xc
cmp eax, edx
je 0x4728ed
mov ecx, dword [esp + 0x14]
call fcn.004041a0
mov eax, dword [esp + 0x30]
mov dword [edi + 0x30], eax
mov word [edi + 0x2c], si
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x30]
mov edx, dword [esp + 0x50]
inc dword [esp + 0x24]
or dword [esp + 0x48], edx
mov dword [ecx + eax*4], ebx
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
or dword [esp + 0x4c], eax
mov esi, dword [ebp + 0x10]
add ebx, 0x30
cmp ebx, dword [esp + 0x2c]
jb 0x472710
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
mov word [edi + 0x28], ax
mov word [edi + 0x18], ax
mov dword [edi + 0x24], 0x4241
mov eax, dword [esi + 0x40]
mov esi, dword [esi + 0x44]
not ecx
or ecx, 0x80000000
and ecx, esi
not edx
mov edi, edx
and edi, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + 0x26]
mov edx, 0x3f
mov dword [esp + 0x50], edi
mov dword [esp + 0x44], eax
cmp dx, ax
jge 0x472980
mov dword [esp + 0x24], edx
jmp 0x472985
cwde
mov dword [esp + 0x24], eax
xor ebx, ebx
cmp dword [esp + 0x24], ebx
jle 0x4729b3
lea ecx, [ecx]
mov eax, 1
xor edx, edx
mov ecx, ebx
call fcn.004aa860
and edx, dword [esp + 0x54]
and eax, edi
or eax, edx
je 0x4729ac
inc dword [esp + 0x10]
inc ebx
cmp ebx, dword [esp + 0x24]
jl 0x472990
and esi, 0x80000000
xor eax, eax
or eax, esi
je 0x4729d0
movsx ecx, word [esp + 0x44]
mov edx, dword [esp + 0x10]
lea eax, [edx + ecx - 0x3f]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
inc ecx
movzx edi, cx
mov ecx, dword [edx]
movsx esi, di
lea eax, [esi*4 + 7]
and eax, 0xfffffff8
lea edx, [esi + esi*4 + 9]
and edx, 0xfffffff8
mov dword [esp + 0x44], eax
lea eax, [edx + eax + 0x40]
cdq
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x472a10
push edx
push eax
mov eax, ecx
call fcn.00404490
add esp, 8
jmp 0x472a73
mov ecx, eax
or ecx, edx
je 0x472b73
test edx, edx
ja 0x472b73
jb 0x472a2f
cmp eax, 0x7fffff00
jae 0x472b73
cmp dword [0x4bac60], 0
je 0x472b64
mov eax, dword [0x4bd138]
test eax, eax
je 0x472a4f
push eax
call dword [0x4bacb8]
add esp, 4
mov eax, dword [esp + 0x14]
lea ebx, [esp + 0x30]
call fcn.00403d10
mov eax, dword [0x4bd138]
test eax, eax
je 0x472a6f
push eax
call dword [0x4bacc0]
add esp, 4
mov eax, dword [esp + 0x30]
mov ebx, eax
test ebx, ebx
je 0x47328e
mov edx, dword [esp + 0x14]
push edx
push 0
push ebx
call fcn.004a6b70
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
lea eax, [ebx + 0x40]
mov dword [ebx + 0x20], eax
add eax, dword [esp + 0x50]
mov word [ebx + 0x34], di
mov dword [ebx + 8], eax
lea eax, [eax + esi*2 + 2]
mov dword [ebx + 4], eax
lea eax, [eax + esi*2]
mov dword [ebx + 0x1c], eax
xor eax, eax
dec edi
mov word [ebx + 0x32], di
mov dword [ecx + 0x20], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx], 0x4b8114
mov dword [ebx + 0xc], edx
mov edi, dword [eax + 0x14]
add esp, 0xc
cmp edi, dword [esp + 0x2c]
jae 0x472c7e
mov ecx, dword [edi + 0x14]
mov edx, dword [ebp + 0x10]
cmp ecx, dword [edx + 0x30]
jne 0x472c71
test byte [edi + 0xc], 0x82
je 0x472c71
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x472c71
mov eax, dword [edi + 0x1c]
test eax, eax
js 0x472c71
mov esi, dword [edi]
mov ecx, edx
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 4]
add eax, eax
mov dl, byte [ecx + eax*8 + 0xd]
mov eax, dword [esi + 0xc]
mov byte [esp + 0xf], dl
call fcn.00436b70
mov cl, al
mov eax, dword [esi + 0x10]
mov byte [esp + 0xe], cl
test eax, eax
je 0x472b7a
call fcn.00436b70
test al, al
je 0x472b8f
mov cl, byte [esp + 0xe]
test cl, cl
je 0x472b96
cmp al, 0x43
jge 0x472b5d
cmp cl, 0x43
jl 0x472ba0
mov byte [esp + 0xe], 0x43
jmp 0x472ba5
push eax
call dword [0x4bac88]
add esp, 4
jmp 0x472a73
xor eax, eax
jmp 0x472a73
test dword [esi + 4], 0x800
je 0x472b9c
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
jmp 0x472b43
cmp byte [esp + 0xe], 0
je 0x472ba0
add byte [esp + 0xe], al
jmp 0x472ba5
test cl, cl
jne 0x472ba5
mov byte [esp + 0xe], 0x41
movsx eax, byte [esp + 0xe]
sub eax, 0x41
je 0x472bd0
dec eax
je 0x472bbe
xor eax, eax
cmp byte [esp + 0xf], 0x43
setge al
jmp 0x472bc8
xor eax, eax
cmp byte [esp + 0xf], 0x42
sete al
test eax, eax
je 0x472c71
mov ecx, dword [edi + 0x1c]
cmp ecx, 0x40
jl 0x472be1
xor eax, eax
mov edx, 0x80000000
jmp 0x472bed
mov eax, 1
xor edx, edx
call fcn.004aa860
mov ecx, eax
and ecx, dword [esp + 0x48]
mov esi, edx
and esi, dword [esp + 0x4c]
or ecx, esi
jne 0x472c71
or dword [esp + 0x48], eax
or dword [esp + 0x4c], edx
mov ecx, dword [edi]
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x14]
mov dx, word [edi + 0x1c]
mov word [eax + esi*2], dx
mov esi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
mov eax, 0x100
test dword [ecx + 4], eax
jne 0x472c49
test esi, esi
je 0x472c37
test dword [esi + 4], eax
je 0x472c37
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
jmp 0x472c4d
mov edx, dword [ebp + 8]
push edx
call fcn.00436d50
add esp, 4
test eax, eax
jne 0x472c59
mov ecx, esi
mov eax, dword [ebp + 8]
push eax
call fcn.00436d50
add esp, 4
test eax, eax
je 0x472c5d
mov eax, dword [eax]
jmp 0x472c62
mov eax, 0x4b140c
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x20]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [esp + 0x14], ecx
add edi, 0x30
cmp edi, dword [esp + 0x2c]
jb 0x472ae2
mov esi, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x24], edi
jle 0x472cc7
lea ebx, [ebx]
mov eax, 1
xor edx, edx
mov ecx, edi
call fcn.004aa860
and eax, dword [esp + 0x50]
and edx, dword [esp + 0x54]
or eax, edx
je 0x472cbc
mov eax, dword [ebx + 4]
mov word [eax + esi*2], di
mov ecx, dword [ebx + 0x20]
mov dword [ecx + esi*4], 0x4b140c
inc esi
inc edi
cmp edi, dword [esp + 0x24]
jl 0x472c90
mov dword [esp + 0x14], esi
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + 0x44]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
je 0x472d0f
mov ecx, dword [esp + 0x28]
mov eax, 0x3f
cmp ax, word [ecx + 0x26]
jge 0x472d0f
jmp 0x472cf0
mov edx, dword [ebx + 4]
mov word [edx + esi*2], ax
mov edx, dword [ebx + 0x20]
mov dword [edx + esi*4], 0x4b140c
movsx edx, word [ecx + 0x26]
inc eax
inc esi
cmp eax, edx
jl 0x472cf0
mov dword [esp + 0x14], esi
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov edx, dword [ebx + 0x20]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
mov dword [edx + esi*4], 0x4b140c
mov edx, dword [eax + 0x28]
mov dword [ecx + 8], edx
inc dword [eax + 0x28]
mov esi, dword [ecx + 8]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + 0x88]
mov edi, dword [ecx + 0xc]
inc edx
cmp dword [edi + 0x30], eax
jg 0x472d5e
push 0
push edx
push esi
push 0x6a
mov esi, ecx
call fcn.00423ce0
add esp, 0x10
jmp 0x472d8b
lea edi, [eax + 1]
mov dword [ecx + 0x88], edi
mov ecx, dword [ecx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax + 4], esi
mov esi, dword [esp + 0x1c]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x6a
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
push ebx
push eax
call fcn.00449c50
add esp, 8
test eax, eax
je 0x472e13
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x472dfc
cmp dword [ecx + 0x1c8], 0
jne 0x472e13
dec dword [eax]
jne 0x472e13
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x472df1
cmp dword [ecx + 0x1c8], 0
je 0x472dcb
call fcn.00404160
jmp 0x472e13
cmp eax, dword [ecx + 0x120]
jb 0x472df1
cmp eax, dword [ecx + 0x124]
jae 0x472df1
mov edx, dword [ecx + 0x11c]
mov dword [eax], edx
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], eax
jmp 0x472e13
push eax
call fcn.004040f0
add esp, 4
jmp 0x472e13
mov ecx, dword [edi + 0x88]
mov edx, dword [edi + 0x58]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4 - 0x14]
mov byte [ecx + 1], 0xfb
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 8]
inc dword [eax + 0x40]
mov ecx, dword [ebp + 0x1c]
movzx eax, byte [ecx + 0x2c]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov edx, dword [edx + 4]
lea eax, [eax + eax*4]
add eax, eax
test byte [edx + eax*8 + 0x30], 0x10
lea eax, [edx + eax*8 + 8]
mov dword [esp + 0x28], eax
je 0x472f1b
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
mov edi, dword [eax + 0x1c]
cmp dword [edx + 0x30], ecx
jg 0x472e63
push 0
push 0
push 0
push 0x4c
call fcn.00423ce0
add esp, 0x10
jmp 0x472e8e
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x4c
mov eax, ecx
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x88]
cmp dword [edx + 0x30], eax
jg 0x472eb7
push ecx
push 0
push edi
push 0xf
call fcn.00423ce0
add esp, 0x10
jmp 0x472ee0
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0xf
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x472eff
push 0
push 0
push edi
push 0x10
call fcn.00423ce0
add esp, 0x10
jmp 0x472f67
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], edi
mov word [eax], 0x10
jmp 0x472f57
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x472f3d
push 0
push 0
push edx
push 0x39
call fcn.00423ce0
add esp, 0x10
jmp 0x472f67
mov edi, dword [esi + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
mov dword [eax + 4], edx
mov word [eax], 0x39
xor edx, edx
mov byte [eax + 3], dl
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov eax, ecx
cmp dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
je 0x472feb
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x48]
lea edx, [ecx + 1]
mov dword [eax + 0x48], edx
lea edx, [ecx - 1]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], ecx
test ecx, edx
jne 0x472fb5
mov edi, dword [eax + 0x4c]
mov eax, dword [eax]
lea ecx, [ecx*8 + 4]
push 0
push ecx
call fcn.00404650
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov dword [edx + 0x4c], eax
add esp, 8
mov eax, edx
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x472fc3
mov dword [eax + ecx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ecx
mov ecx, dword [ebp + 8]
push 0x10
push eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
push eax
push ecx
call fcn.0043de90
mov eax, dword [esp + 0x44]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0x13]
test al, al
jne 0x473001
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x24], edx
jmp 0x473014
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov ecx, dword [ecx + eax*4 + 0x160]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x24]
mov edi, dword [ebp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push edx
push eax
push ebx
push ecx
xor eax, eax
call fcn.0044be60
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + 8]
mov ebx, eax
mov eax, dword [esi + 0x88]
add esp, 0x1c
cmp dword [edx + 0x30], eax
jg 0x47305c
mov eax, dword [esp + 0x24]
push 0
push eax
push ecx
push 0x7d
call fcn.00423ce0
add esp, 0x10
jmp 0x473089
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x7d
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x47309e
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov byte [eax + edx*4 - 0x11], 0x10
cmp dword [esp + 0x20], 0
je 0x4730c4
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x4730c4
mov ecx, dword [esp + 0x38]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x88]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [esp + 0x28]
test byte [edx + 0x28], 0x10
je 0x473188
mov eax, dword [esp + 0x3c]
test eax, eax
jns 0x4730e1
mov eax, dword [esi + 0x88]
dec eax
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x4730f0
mov eax, 0x4bcc48
jmp 0x4730f9
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
add ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + 0x20]
mov eax, edi
mov ecx, dword [eax + 4]
push edx
mov edx, dword [esp + 0x14]
push ecx
mov edi, 1
mov ecx, esi
call fcn.00472560
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
add esp, 8
cmp dword [edx + 0x30], eax
jg 0x473153
mov eax, dword [esp + 0x10]
push 0
push eax
push 0
push 0xd
call fcn.00423ce0
add esp, 0x10
and dword [ebx + 0x28], 0xffffffef
mov ebx, dword [esp + 0x10]
jmp 0x4731d9
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xd
and dword [ebx + 0x28], 0xffffffef
mov ebx, edx
jmp 0x4731d9
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x88]
mov edi, dword [esi + 0xc]
mov ebx, dword [esp + 0x10]
lea ecx, [ebx + 1]
cmp dword [edi + 0x30], eax
jg 0x4731b0
push 0
push ecx
push edx
push 7
call fcn.00423ce0
add esp, 0x10
jmp 0x4731d9
lea edi, [eax + 1]
mov dword [esi + 0x88], edi
mov edi, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 7
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x4731ee
mov edx, dword [esi + 0x58]
lea ecx, [eax + eax*4]
mov byte [edx + ecx*4 - 0x11], 3
mov ecx, dword [esi + 0x88]
mov eax, ebx
test ebx, ebx
jns 0x4731fd
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x47320c
mov eax, 0x4bcc48
jmp 0x473215
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edi, dword [esp + 0x24]
mov edx, dword [ebp + 8]
mov dword [eax + 8], ecx
test edi, edi
je 0x473255
cmp byte [edx + 0x13], 8
jae 0x473255
xor eax, eax
lea ecx, [edx + 0x98]
cmp byte [edx + 0x19], al
jbe 0x473247
cmp dword [ecx + 0xc], edi
je 0x47327c
movzx ebx, byte [edx + 0x19]
inc eax
add ecx, 0x14
cmp eax, ebx
jl 0x473236
movzx eax, byte [edx + 0x13]
mov dword [edx + eax*4 + 0x160], edi
inc byte [edx + 0x13]
mov eax, edx
call fcn.0043c040
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x88]
test eax, eax
jns 0x47326d
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x473282
mov eax, 0x4bcc48
jmp 0x47328b
mov byte [ecx + 6], 1
jmp 0x473255
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4732a5
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00437ea0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret