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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e92e1
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x638190]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x638190]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebx]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0x38]
mov ecx, ebx
mov dword [esp + 0x58], ebx
call eax
test eax, eax
je 0x53e13a
lea ecx, [esp + 0x10]
call fcn.004f9eb0
mov ecx, ebx
mov dword [esp + 0xd8], 0
xor edi, edi
call fcn.00532260
cmp eax, 3
jne 0x53d78b
push edi
mov ecx, ebx
call fcn.00532cf0
cmp eax, 7
jne 0x53d78b
test byte [ebx + 8], 0xf
jne 0x53d78b
lea ecx, [esp + 0x9c]
call fcn.0051a7e0
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x9c]
push edx
mov byte [esp + 0xdc], 1
call fcn.0056fca0
mov ax, word [esp + 0xbc]
test al, 2
jne 0x53d662
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x53d76f
mov eax, dword [esp + 0xc0]
cmp eax, dword [esp + 0xc4]
jne 0x53d76f
mov edi, 1
test eax, eax
je 0x53d76f
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xa0]
call fcn.004f2ea0
push eax
lea ecx, [esp + 0x48]
call fcn.005bf120
mov ecx, dword [esp + 0xc0]
sar ecx, 1
add ecx, dword [esp + 0xb8]
lea edx, [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.004f73b0
push 0x2c
mov byte [esp + 0xdc], 2
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x40], eax
mov byte [esp + 0xd8], 3
test eax, eax
je 0x53d6ef
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.00517a90
mov esi, eax
jmp 0x53d6f1
xor esi, esi
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xc0]
lea ecx, [edx + edx]
cmp ecx, eax
mov byte [esp + 0xd8], 2
mov dword [esp + 0x40], esi
jle 0x53d751
sub dword [esp + 0x3c], eax
push esi
push 0x24
call fcn.00519880
add esp, 8
mov dword [esp + 0x28], eax
mov byte [esp + 0xd8], 4
test eax, eax
je 0x53d73f
lea edx, [esp + 0x30]
push edx
mov ecx, eax
call fcn.00518a90
jmp 0x53d741
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0xdc], 2
call fcn.00519910
push 0
lea ecx, [esp + 0x14]
call fcn.00403920
lea ecx, [esp + 0x30]
mov dword [eax], esi
mov byte [esp + 0xd8], 1
call fcn.004f74a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd8], 0
call fcn.0051a830
test edi, edi
jne 0x53dcf6
lea ecx, [esp + 0x5c]
call fcn.004f9eb0
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 5
call fcn.004f9eb0
test byte [ebx + 8], 0xf
mov byte [esp + 0xd8], 6
jne 0x53d82e
lea ecx, [esp + 0x44]
call fcn.004f9eb0
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
mov byte [esp + 0xdc], 7
call fcn.00531f50
xor edi, edi
cmp dword [esp + 0x44], edi
jle 0x53d81d
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + edi*4]
push edx
call fcn.0058c800
add esp, 4
test eax, eax
mov eax, dword [esp + 0x4c]
je 0x53d807
mov ecx, dword [esp + 0x5c]
push ecx
lea ecx, [esp + 0x60]
lea esi, [eax + edi*4]
call fcn.005c2c20
mov edx, dword [esi]
mov dword [eax], edx
jmp 0x53d816
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x53d816
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc edi
cmp edi, dword [esp + 0x44]
jl 0x53d7d8
lea ecx, [esp + 0x44]
mov byte [esp + 0xd8], 6
call fcn.00483100
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
add eax, 0xfffffffe
xor ebx, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], eax
test eax, eax
jle 0x53db40
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
dec eax
cmp eax, 0x30
ja case.0x53d876.2
movzx ecx, byte [eax + 0x53e354]
jmp dword [ecx*4 + 0x53e344]
push 0x14
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xd8], 8
test eax, eax
je 0x53d8b7
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + ebx*4]
push ecx
mov ecx, eax
call fcn.004f8580
mov byte [esp + 0xd8], 6
mov dword [esp + 0x20], eax
jmp 0x53d93c
xor eax, eax
mov byte [esp + 0xd8], 6
mov dword [esp + 0x20], eax
jmp 0x53d93c
push 0x24
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xd8], 9
test eax, eax
je 0x53d8b7
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + ebx*4]
push ecx
mov ecx, eax
call fcn.004f3d50
mov byte [esp + 0xd8], 6
mov dword [esp + 0x20], eax
jmp 0x53d93c
push 0x24
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xd8], 0xa
test eax, eax
je 0x53d921
mov ecx, eax
call fcn.004f1250
jmp 0x53d923
xor eax, eax
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + ebx*4]
push eax
mov byte [esp + 0xdc], 6
mov dword [esp + 0x24], eax
call fcn.00588ba0
lea edi, [ebx + 2]
cmp edi, dword [esp + 0x24]
jge 0x53da52
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
dec eax
cmp eax, 0x30
ja case.0x53d968.2
movzx ecx, byte [eax + 0x53e398]
jmp dword [ecx*4 + 0x53e388]
push 0x14
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd8], 0xb
test eax, eax
je 0x53d9a4
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + edi*4]
push ecx
mov ecx, eax
call fcn.004f8580
mov byte [esp + 0xd8], 6
mov esi, eax
jmp 0x53da23
xor eax, eax
mov byte [esp + 0xd8], 6
mov esi, eax
jmp 0x53da23
push 0x24
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd8], 0xc
test eax, eax
je 0x53d9a4
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + edi*4]
push ecx
mov ecx, eax
call fcn.004f3d50
mov byte [esp + 0xd8], 6
mov esi, eax
jmp 0x53da23
push 0x24
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd8], 0xd
test eax, eax
je 0x53da0a
mov ecx, eax
call fcn.004f1250
jmp 0x53da0c
xor eax, eax
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + edi*4]
push eax
mov byte [esp + 0xdc], 6
mov esi, eax
call fcn.00588ba0
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.00507b70
add esp, 8
test eax, eax
jne 0x53db65
test esi, esi
je case.0x53d968.2
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
inc edi
cmp edi, dword [esp + 0x24]
jl 0x53d949
cmp dword [esp + 0x28], 0
je 0x53db13
cmp edi, dword [esp + 0x24]
jne 0x53db13
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jge 0x53da8e
nop
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x30]
lea edi, [ecx + esi*4]
push edx
lea ecx, [esp + 0x34]
call fcn.005c2c20
mov ecx, dword [edi]
inc esi
cmp esi, ebx
mov dword [eax], ecx
jl 0x53da70
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x84]
call fcn.00534410
mov eax, dword [esp + 0x58]
mov cl, byte [eax + 8]
shr cl, 4
and cl, 0xf
movzx edx, cl
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0xdc], 0xe
call fcn.005322d0
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x80]
push edx
call eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 8]
call fcn.0056b900
xor esi, esi
push esi
lea ecx, [esp + 0x34]
call fcn.005c2c20
lea ecx, [esp + 0x80]
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], esi
mov byte [esp + 0xd8], 6
call fcn.00532fd0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je case.0x53d876.2
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc ebx
cmp ebx, dword [esp + 0x40]
jl 0x53d857
cmp dword [esp + 0x1c], 0
jne 0x53dc32
cmp dword [esp + 0x28], 0
jne 0x53db84
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [esp + 0x58]
mov edx, dword [edx + 0x20]
push eax
call edx
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
call fcn.0056b900
jmp 0x53dccb
mov dword [esp + 0x28], 1
test esi, esi
je 0x53da5d
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
jmp 0x53da5d
xor esi, esi
test ebx, ebx
jle 0x53dbae
lea ebx, [ebx]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x30]
lea edi, [ecx + esi*4]
push edx
lea ecx, [esp + 0x34]
call fcn.005c2c20
mov ecx, dword [edi]
inc esi
cmp esi, ebx
mov dword [eax], ecx
jl 0x53db90
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x84]
call fcn.00534410
mov eax, dword [esp + 0x58]
mov cl, byte [eax + 8]
shr cl, 4
and cl, 0xf
movzx edx, cl
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0xdc], 0xf
call fcn.005322d0
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x80]
push edx
call eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 8]
call fcn.0056b900
push 0
lea ecx, [esp + 0x34]
call fcn.005c2c20
lea ecx, [esp + 0x80]
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xd8], 6
call fcn.00532fd0
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x24]
jge 0x53dc5e
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x34]
lea edi, [edx + esi*4]
call fcn.005c2c20
mov ecx, dword [edi]
inc esi
cmp esi, ebx
mov dword [eax], ecx
jl 0x53dc40
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0xa0]
call fcn.00534410
mov eax, dword [esp + 0x58]
mov cl, byte [eax + 8]
shr cl, 4
and cl, 0xf
movzx edx, cl
push edx
lea ecx, [esp + 0xa0]
mov byte [esp + 0xdc], 0x10
call fcn.005322d0
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x9c]
push edx
call eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 8]
call fcn.0056b900
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd8], 6
call fcn.00532fd0
lea ecx, [esp + 0x5c]
call fcn.004f9f00
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 5
call fcn.00483100
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd8], 0
call fcn.00483100
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jle 0x53e100
mov dword [esp + 0x20], ecx
mov ebx, ecx
lea edi, [ecx + 1]
cmp ebx, dword [esp + 0x10]
jge 0x53dd28
mov edx, dword [esp + 0x18]
lea eax, [edx + ebx*4]
jmp 0x53dd32
push ebx
lea ecx, [esp + 0x14]
call fcn.005c2c20
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x5c]
call edx
cmp eax, 0x1a
jne 0x53dfaf
cmp ebx, dword [esp + 0x10]
jge 0x53dd53
mov eax, dword [esp + 0x18]
lea eax, [eax + ebx*4]
jmp 0x53dd5d
push ebx
lea ecx, [esp + 0x14]
call fcn.005c2c20
mov esi, dword [eax]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x2c], esi
call fcn.00532260
cmp eax, 2
jle 0x53e0e4
push edi
mov ecx, esi
call fcn.00567810
test eax, eax
je 0x53e0e4
lea ecx, [esp + 0x30]
call fcn.004f9eb0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd8], 0x11
call fcn.004f9eb0
push 0x2c
mov byte [esp + 0xdc], 0x12
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd8], 0x13
test eax, eax
je 0x53ddcd
push esi
mov ecx, eax
call fcn.00517bb0
mov esi, eax
jmp 0x53ddcf
xor esi, esi
mov ecx, dword [esp + 0x5c]
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0xdc], 0x12
call fcn.005c2c20
lea edx, [esp + 0x30]
mov dword [eax], esi
push edx
lea eax, [esp + 0x60]
push eax
call fcn.005180d0
add esp, 8
lea ecx, [esp + 0x5c]
call fcn.004f9f00
fldz
mov eax, dword [esp + 0x30]
fstp qword [esp + 0x44]
xor ecx, ecx
mov edx, 8
or edi, 0xffffffff
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
xor esi, esi
add esp, 4
cmp dword [esp + 0x30], esi
mov dword [esp + 0x28], eax
jle 0x53dee1
jmp 0x53de40
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + esi*4]
call fcn.00529840
mov ecx, dword [esp + 0x28]
fst qword [ecx + esi*8]
fld qword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x53de68
fstp qword [esp + 0x44]
mov edi, esi
jmp 0x53de6a
fstp st(0)
inc esi
cmp esi, dword [esp + 0x30]
jl 0x53de40
cmp edi, 0xffffffff
je 0x53dee1
push 0x2c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd8], 0x14
test eax, eax
je 0x53dea3
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + edi*4]
push ecx
mov ecx, eax
call fcn.0051a020
mov esi, eax
jmp 0x53dea5
xor esi, esi
cmp ebx, dword [esp + 0x10]
mov byte [esp + 0xd8], 0x12
jge 0x53debc
mov edx, dword [esp + 0x18]
lea eax, [edx + ebx*4]
jmp 0x53dec6
push ebx
lea ecx, [esp + 0x14]
call fcn.005c2c20
mov ecx, dword [esp + 0x2c]
mov dword [eax], esi
test ecx, ecx
je 0x53df6d
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
jmp 0x53df6d
lea esi, [ebx + 1]
cmp esi, dword [esp + 0x1c]
jge 0x53df31
mov ebx, dword [esp + 0x20]
mov edi, edi
cmp esi, dword [esp + 0x10]
jge 0x53deff
mov eax, dword [esp + 0x18]
lea edi, [eax + esi*4]
jmp 0x53df0b
push esi
lea ecx, [esp + 0x14]
call fcn.005c2c20
mov edi, eax
cmp ebx, dword [esp + 0x10]
jge 0x53df1b
mov ecx, dword [esp + 0x18]
lea eax, [ecx + esi*4 - 4]
jmp 0x53df25
push ebx
lea ecx, [esp + 0x14]
call fcn.005c2c20
mov edx, dword [edi]
inc esi
inc ebx
cmp esi, dword [esp + 0x1c]
mov dword [eax], edx
jl 0x53def0
cmp dword [esp + 0x2c], 0
je 0x53df44
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov esi, dword [esp + 0x1c]
mov edi, 1
sub esi, edi
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], esi
call fcn.005c2c20
sub dword [esp + 0x24], edi
sub dword [esp + 0x20], edi
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x28]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x30]
call fcn.004f9f00
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd8], 0x11
call fcn.00483100
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 0
call fcn.00483100
mov edi, 1
jmp 0x53e0e4
cmp ebx, dword [esp + 0x10]
jge 0x53dfbe
mov ecx, dword [esp + 0x18]
lea eax, [ecx + ebx*4]
jmp 0x53dfc8
push ebx
lea ecx, [esp + 0x14]
call fcn.005c2c20
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 0x1b
je 0x53e0e4
cmp dword [ebp + 0x14], 0
je 0x53e11d
cmp ebx, dword [esp + 0x10]
jge 0x53dff3
mov ecx, dword [esp + 0x18]
lea eax, [ecx + ebx*4]
jmp 0x53dffd
push ebx
lea ecx, [esp + 0x14]
call fcn.005c2c20
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 0x19
jne 0x53e11d
cmp ebx, dword [esp + 0x10]
jge 0x53e01e
mov ecx, dword [esp + 0x18]
lea eax, [ecx + ebx*4]
jmp 0x53e028
push ebx
lea ecx, [esp + 0x14]
call fcn.005c2c20
mov esi, dword [eax]
mov ecx, esi
call fcn.00532260
cmp eax, 2
jl 0x53e0e4
lea ecx, [esp + 0x80]
call fcn.00524b10
push esi
lea ecx, [esp + 0x84]
mov byte [esp + 0xdc], 0x15
call fcn.0052cbe0
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
mov ecx, esi
call eax
push esi
lea ecx, [esp + 0x84]
call fcn.0052cbe0
mov edx, dword [esi]
mov eax, dword [edx]
push edi
mov ecx, esi
call eax
push 0x14
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd8], 0x16
test eax, eax
je 0x53e0a7
lea ecx, [esp + 0x80]
push ecx
mov ecx, eax
call fcn.00525180
mov esi, eax
jmp 0x53e0a9
xor esi, esi
cmp ebx, dword [esp + 0x10]
mov byte [esp + 0xd8], 0x15
jge 0x53e0c0
mov edx, dword [esp + 0x18]
lea eax, [edx + ebx*4]
jmp 0x53e0ca
push ebx
lea ecx, [esp + 0x14]
call fcn.005c2c20
lea ecx, [esp + 0x80]
mov dword [eax], esi
mov dword [esp + 0x40], edi
mov byte [esp + 0xd8], 0
call fcn.0052ac30
add dword [esp + 0x20], edi
add ebx, edi
cmp ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
jl 0x53dd19
jmp 0x53e100
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x53e1ad
mov bl, 0x28
cmp esi, dword [esp + 0x10]
jge 0x53e141
mov eax, dword [esp + 0x18]
lea eax, [eax + esi*4]
jmp 0x53e14b
lea ecx, [esp + 0x10]
call fcn.004f9f00
lea ecx, [esp + 0x10]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00483100
xor eax, eax
jmp 0x53e31e
push esi
lea ecx, [esp + 0x14]
call fcn.005c2c20
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 0x1a
jne 0x53e1a2
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + esi*4]
push 0x2c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd8], bl
test eax, eax
je 0x53e183
push edi
mov ecx, eax
call fcn.00517bb0
jmp 0x53e185
xor eax, eax
mov edx, dword [esp + 0x18]
mov byte [esp + 0xd8], 0
mov dword [edx + esi*4], eax
test edi, edi
je 0x53e1a2
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x53e10e
lea ecx, [esp + 0x74]
call fcn.004f9eb0
cmp dword [esp + 0x10], 1
mov bl, 0x29
mov byte [esp + 0xd8], bl
jne 0x53e20d
push 0x2c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd8], 0x2a
test eax, eax
je 0x53e1f2
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push edx
mov ecx, eax
call fcn.0051a020
mov esi, eax
jmp 0x53e1f4
xor esi, esi
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], bl
call fcn.005c2c20
mov dword [eax], esi
jmp 0x53e271
cmp dword [ebp + 0x14], 0
je 0x53e25f
cmp dword [esp + 0x40], 0
je 0x53e25f
lea ecx, [esp + 0x30]
call fcn.004f9eb0
push 0
push 1
push 0
push 1
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0xf4], 0x2b
call fcn.0056f600
add esp, 0x1c
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], bl
call fcn.00483100
jmp 0x53e271
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.005180d0
add esp, 8
mov edi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x70]
xor esi, esi
test edi, edi
je 0x53e2c2
cmp dword [esp + 0x74], esi
jle 0x53e2b7
push edi
test edi, edi
jle 0x53e29c
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + esi*4]
push ecx
push ebx
call fcn.00579800
jmp 0x53e2ad
mov edx, dword [esp + 0x80]
mov eax, dword [edx + esi*4]
push eax
push ebx
call fcn.005798b0
inc esi
add esp, 0xc
cmp esi, dword [esp + 0x74]
jl 0x53e284
lea ecx, [esp + 0x74]
call fcn.004f9f00
jmp 0x53e2ec
cmp dword [esp + 0x74], 0
jle 0x53e2ec
lea esp, [esp]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ebx]
lea edi, [ecx + esi*4]
push edx
mov ecx, ebx
call fcn.005c2c20
mov ecx, dword [edi]
inc esi
mov dword [eax], ecx
cmp esi, dword [esp + 0x74]
jl 0x53e2d0
lea ecx, [esp + 0x10]
call fcn.004f9f00
mov ebx, dword [ebx]
lea ecx, [esp + 0x74]
mov byte [esp + 0xd8], 0
call fcn.00483100
lea ecx, [esp + 0x10]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00483100
mov eax, ebx
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.005c3bb6
mov esp, ebp
pop ebp
ret 0x10