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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e188b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x62fda0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x62fda0]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebx]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x38]
mov ecx, ebx
mov dword [esp + 0x40], ebx
call eax
test eax, eax
je 0x537eca
lea ecx, [esp + 0x10]
call fcn.004f6ca0
mov ecx, ebx
mov dword [esp + 0xd0], 0
xor edi, edi
call fcn.0052c760
cmp eax, 3
jne 0x53755b
push edi
mov ecx, ebx
call fcn.0052d1f0
cmp eax, 7
jne 0x53755b
test byte [ebx + 8], 0xf
jne 0x53755b
lea ecx, [esp + 0x94]
call fcn.00514e60
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x94]
push edx
mov byte [esp + 0xd4], 1
call fcn.00568e10
mov ax, word [esp + 0xb4]
test al, 2
jne 0x537432
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x53753f
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0xbc]
jne 0x53753f
mov edi, 1
test eax, eax
je 0x53753f
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x98]
call fcn.004efe90
push eax
lea ecx, [esp + 0x48]
call fcn.005b88c0
mov ecx, dword [esp + 0xb8]
sar ecx, 1
add ecx, dword [esp + 0xb0]
lea edx, [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.004f2bd0
push 0x2c
mov byte [esp + 0xd4], 2
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x74], eax
mov byte [esp + 0xd0], 3
test eax, eax
je 0x5374bf
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.00512160
mov esi, eax
jmp 0x5374c1
xor esi, esi
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
lea ecx, [edx + edx]
cmp ecx, eax
mov byte [esp + 0xd0], 2
mov dword [esp + 0x74], esi
jle 0x537521
sub dword [esp + 0x3c], eax
push esi
push 0x24
call fcn.00513f00
add esp, 8
mov dword [esp + 0x2c], eax
mov byte [esp + 0xd0], 4
test eax, eax
je 0x53750f
lea edx, [esp + 0x30]
push edx
mov ecx, eax
call fcn.00513110
jmp 0x537511
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0xd4], 2
call fcn.00513f90
push 0
lea ecx, [esp + 0x14]
call fcn.00424110
lea ecx, [esp + 0x30]
mov dword [eax], esi
mov byte [esp + 0xd0], 1
call fcn.004f2cc0
lea ecx, [esp + 0x94]
mov byte [esp + 0xd0], 0
call fcn.00514eb0
test edi, edi
jne 0x537aaa
lea ecx, [esp + 0x54]
call fcn.004f6ca0
lea ecx, [esp + 0x30]
mov byte [esp + 0xd0], 5
call fcn.004f6ca0
test byte [ebx + 8], 0xf
mov byte [esp + 0xd0], 6
jne 0x5375fe
lea ecx, [esp + 0x44]
call fcn.004f6ca0
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
mov byte [esp + 0xd4], 7
call fcn.0052c2f0
xor edi, edi
cmp dword [esp + 0x44], edi
jle 0x5375ed
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + edi*4]
push edx
call fcn.005863d0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x4c]
je 0x5375d7
mov ecx, dword [esp + 0x54]
push ecx
lea ecx, [esp + 0x58]
lea esi, [eax + edi*4]
call fcn.005bbe80
mov edx, dword [esi]
mov dword [eax], edx
jmp 0x5375e6
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x5375e6
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc edi
cmp edi, dword [esp + 0x44]
jl 0x5375a8
lea ecx, [esp + 0x44]
mov byte [esp + 0xd0], 6
call fcn.00467410
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
add eax, 0xfffffffe
xor ebx, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x74], eax
test eax, eax
jle 0x537904
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
dec eax
cmp eax, 0x30
ja case.0x537646.2
movzx ecx, byte [eax + 0x5380d8]
jmp dword [ecx*4 + 0x5380c8]
push 0x14
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xd0], 8
test eax, eax
je 0x537687
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + ebx*4]
push ecx
mov ecx, eax
call fcn.004f5480
mov byte [esp + 0xd0], 6
mov dword [esp + 0x20], eax
jmp 0x53770c
xor eax, eax
mov byte [esp + 0xd0], 6
mov dword [esp + 0x20], eax
jmp 0x53770c
push 0x24
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xd0], 9
test eax, eax
je 0x537687
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + ebx*4]
push ecx
mov ecx, eax
call fcn.004f0c50
mov byte [esp + 0xd0], 6
mov dword [esp + 0x20], eax
jmp 0x53770c
push 0x24
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xd0], 0xa
test eax, eax
je 0x5376f1
mov ecx, eax
call fcn.004ee1e0
jmp 0x5376f3
xor eax, eax
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + ebx*4]
push eax
mov byte [esp + 0xd4], 6
mov dword [esp + 0x24], eax
call fcn.00582760
lea edi, [ebx + 2]
cmp edi, dword [esp + 0x24]
jge 0x537822
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
dec eax
cmp eax, 0x30
ja case.0x537738.2
movzx ecx, byte [eax + 0x53811c]
jmp dword [ecx*4 + 0x53810c]
push 0x14
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd0], 0xb
test eax, eax
je 0x537774
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + edi*4]
push ecx
mov ecx, eax
call fcn.004f5480
mov byte [esp + 0xd0], 6
mov esi, eax
jmp 0x5377f3
xor eax, eax
mov byte [esp + 0xd0], 6
mov esi, eax
jmp 0x5377f3
push 0x24
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd0], 0xc
test eax, eax
je 0x537774
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + edi*4]
push ecx
mov ecx, eax
call fcn.004f0c50
mov byte [esp + 0xd0], 6
mov esi, eax
jmp 0x5377f3
push 0x24
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd0], 0xd
test eax, eax
je 0x5377da
mov ecx, eax
call fcn.004ee1e0
jmp 0x5377dc
xor eax, eax
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + edi*4]
push eax
mov byte [esp + 0xd4], 6
mov esi, eax
call fcn.00582760
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.00503590
add esp, 8
test eax, eax
jne 0x537929
test esi, esi
je case.0x537738.2
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
inc edi
cmp edi, dword [esp + 0x24]
jl 0x537719
cmp dword [esp + 0x2c], 0
je 0x5378d7
cmp edi, dword [esp + 0x24]
jne 0x5378d7
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jge 0x53785e
nop
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
lea edi, [ecx + esi*4]
push edx
lea ecx, [esp + 0x34]
call fcn.005bbe80
mov ecx, dword [edi]
inc esi
cmp esi, ebx
mov dword [eax], ecx
jl 0x537840
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x7c]
call fcn.0052e650
mov eax, dword [esp + 0x40]
mov cl, byte [eax + 8]
shr cl, 4
and cl, 0xf
movzx edx, cl
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 0xe
call fcn.0052c7d0
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x78]
push edx
call eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 8]
call fcn.00564a60
xor esi, esi
push esi
lea ecx, [esp + 0x34]
call fcn.005bbe80
lea ecx, [esp + 0x78]
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], esi
mov byte [esp + 0xd0], 6
call fcn.0052d4d0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je case.0x537646.2
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc ebx
cmp ebx, dword [esp + 0x74]
jl 0x537627
cmp dword [esp + 0x1c], 0
jne 0x5379e6
cmp dword [esp + 0x2c], 0
jne 0x537948
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [esp + 0x40]
mov edx, dword [edx + 0x20]
push eax
call edx
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
call fcn.00564a60
jmp 0x537a7f
mov dword [esp + 0x2c], 1
test esi, esi
je 0x53782d
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
jmp 0x53782d
xor esi, esi
test ebx, ebx
jle 0x53796e
mov edi, edi
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
lea edi, [ecx + esi*4]
push edx
lea ecx, [esp + 0x34]
call fcn.005bbe80
mov ecx, dword [edi]
inc esi
cmp esi, ebx
mov dword [eax], ecx
jl 0x537950
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x7c]
call fcn.0052e650
mov eax, dword [esp + 0x40]
mov cl, byte [eax + 8]
shr cl, 4
and cl, 0xf
movzx edx, cl
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 0xf
call fcn.0052c7d0
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x78]
push edx
call eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 8]
call fcn.00564a60
push 0
lea ecx, [esp + 0x34]
call fcn.005bbe80
lea ecx, [esp + 0x78]
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xd0], 6
call fcn.0052d4d0
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x24]
jge 0x537a12
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x34]
lea edi, [edx + esi*4]
call fcn.005bbe80
mov ecx, dword [edi]
inc esi
cmp esi, ebx
mov dword [eax], ecx
jl 0x5379f4
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x98]
call fcn.0052e650
mov eax, dword [esp + 0x40]
mov cl, byte [eax + 8]
shr cl, 4
and cl, 0xf
movzx edx, cl
push edx
lea ecx, [esp + 0x98]
mov byte [esp + 0xd4], 0x10
call fcn.0052c7d0
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x94]
push edx
call eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 8]
call fcn.00564a60
lea ecx, [esp + 0x94]
mov byte [esp + 0xd0], 6
call fcn.0052d4d0
lea ecx, [esp + 0x54]
call fcn.004f6cf0
lea ecx, [esp + 0x30]
mov byte [esp + 0xd0], 5
call fcn.00467410
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 0
call fcn.00467410
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jle 0x537e90
mov dword [esp + 0x20], ecx
mov ebx, ecx
lea edi, [ecx + 1]
cmp ebx, dword [esp + 0x10]
jge 0x537adc
mov edx, dword [esp + 0x18]
lea eax, [edx + ebx*4]
jmp 0x537ae6
push ebx
lea ecx, [esp + 0x14]
call fcn.005bbe80
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x5c]
call edx
cmp eax, 0x1a
jne 0x537d4f
cmp ebx, dword [esp + 0x10]
jge 0x537b07
mov eax, dword [esp + 0x18]
lea eax, [eax + ebx*4]
jmp 0x537b11
push ebx
lea ecx, [esp + 0x14]
call fcn.005bbe80
mov esi, dword [eax]
push edi
mov ecx, esi
mov dword [esp + 0x2c], esi
call fcn.00560970
test eax, eax
je 0x537e75
lea ecx, [esp + 0x30]
call fcn.004f6ca0
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 0x11
call fcn.004f6ca0
push 0x2c
mov byte [esp + 0xd4], 0x12
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd0], 0x13
test eax, eax
je 0x537b6f
push esi
mov ecx, eax
call fcn.00512280
mov esi, eax
jmp 0x537b71
xor esi, esi
mov ecx, dword [esp + 0x54]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0xd4], 0x12
call fcn.005bbe80
lea edx, [esp + 0x30]
mov dword [eax], esi
push edx
lea eax, [esp + 0x58]
push eax
call fcn.00512760
add esp, 8
lea ecx, [esp + 0x54]
call fcn.004f6cf0
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 + 0x40], eax
jle 0x537c81
lea ebx, [ebx]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + esi*4]
call fcn.00523b40
mov ecx, dword [esp + 0x40]
fst qword [ecx + esi*8]
fld qword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x537c08
fstp qword [esp + 0x44]
mov edi, esi
jmp 0x537c0a
fstp st(0)
inc esi
cmp esi, dword [esp + 0x30]
jl 0x537be0
cmp edi, 0xffffffff
je 0x537c81
push 0x2c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd0], 0x14
test eax, eax
je 0x537c43
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + edi*4]
push ecx
mov ecx, eax
call fcn.005146a0
mov esi, eax
jmp 0x537c45
xor esi, esi
cmp ebx, dword [esp + 0x10]
mov byte [esp + 0xd0], 0x12
jge 0x537c5c
mov edx, dword [esp + 0x18]
lea eax, [edx + ebx*4]
jmp 0x537c66
push ebx
lea ecx, [esp + 0x14]
call fcn.005bbe80
mov ecx, dword [esp + 0x28]
mov dword [eax], esi
test ecx, ecx
je 0x537d0d
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
jmp 0x537d0d
lea esi, [ebx + 1]
cmp esi, dword [esp + 0x1c]
jge 0x537cd1
mov ebx, dword [esp + 0x20]
mov edi, edi
cmp esi, dword [esp + 0x10]
jge 0x537c9f
mov eax, dword [esp + 0x18]
lea edi, [eax + esi*4]
jmp 0x537cab
push esi
lea ecx, [esp + 0x14]
call fcn.005bbe80
mov edi, eax
cmp ebx, dword [esp + 0x10]
jge 0x537cbb
mov ecx, dword [esp + 0x18]
lea eax, [ecx + esi*4 - 4]
jmp 0x537cc5
push ebx
lea ecx, [esp + 0x14]
call fcn.005bbe80
mov edx, dword [edi]
inc esi
inc ebx
cmp esi, dword [esp + 0x1c]
mov dword [eax], edx
jl 0x537c90
cmp dword [esp + 0x28], 0
je 0x537ce4
mov ecx, dword [esp + 0x28]
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.005bbe80
sub dword [esp + 0x24], edi
sub dword [esp + 0x20], edi
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x40]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x30]
call fcn.004f6cf0
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 0x11
call fcn.00467410
lea ecx, [esp + 0x30]
mov byte [esp + 0xd0], 0
call fcn.00467410
mov edi, 1
jmp 0x537e75
cmp ebx, dword [esp + 0x10]
jge 0x537d5e
mov ecx, dword [esp + 0x18]
lea eax, [ecx + ebx*4]
jmp 0x537d68
push ebx
lea ecx, [esp + 0x14]
call fcn.005bbe80
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 0x1b
je 0x537e75
cmp dword [ebp + 0x14], 0
je 0x537ead
cmp ebx, dword [esp + 0x10]
jge 0x537d93
mov ecx, dword [esp + 0x18]
lea eax, [ecx + ebx*4]
jmp 0x537d9d
push ebx
lea ecx, [esp + 0x14]
call fcn.005bbe80
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 0x19
jne 0x537ead
cmp ebx, dword [esp + 0x10]
jge 0x537dbe
mov ecx, dword [esp + 0x18]
lea eax, [ecx + ebx*4]
jmp 0x537dc8
push ebx
lea ecx, [esp + 0x14]
call fcn.005bbe80
mov esi, dword [eax]
mov ecx, esi
call fcn.0052c760
cmp eax, 2
jl 0x537e75
lea ecx, [esp + 0x78]
call fcn.0051f190
push esi
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 0x15
call fcn.00526ec0
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
mov ecx, esi
call eax
push esi
lea ecx, [esp + 0x7c]
call fcn.00526ec0
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 + 0xd0], 0x16
test eax, eax
je 0x537e3b
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call fcn.0051f800
mov esi, eax
jmp 0x537e3d
xor esi, esi
cmp ebx, dword [esp + 0x10]
mov byte [esp + 0xd0], 0x15
jge 0x537e54
mov edx, dword [esp + 0x18]
lea eax, [edx + ebx*4]
jmp 0x537e5e
push ebx
lea ecx, [esp + 0x14]
call fcn.005bbe80
lea ecx, [esp + 0x78]
mov dword [eax], esi
mov dword [esp + 0x2c], edi
mov byte [esp + 0xd0], 0
call fcn.00524ec0
add dword [esp + 0x20], edi
add ebx, edi
cmp ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
jl 0x537acd
lea esp, [esp]
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x537f3d
mov bl, 0x28
cmp esi, dword [esp + 0x10]
jge 0x537ed1
mov eax, dword [esp + 0x18]
lea eax, [eax + esi*4]
jmp 0x537edb
lea ecx, [esp + 0x10]
call fcn.004f6cf0
lea ecx, [esp + 0x10]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00467410
xor eax, eax
jmp 0x5380a1
push esi
lea ecx, [esp + 0x14]
call fcn.005bbe80
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 0x1a
jne 0x537f32
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 + 0xd0], bl
test eax, eax
je 0x537f13
push edi
mov ecx, eax
call fcn.00512280
jmp 0x537f15
xor eax, eax
mov edx, dword [esp + 0x18]
mov byte [esp + 0xd0], 0
mov dword [edx + esi*4], eax
test edi, edi
je 0x537f32
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x537e9e
lea ecx, [esp + 0x68]
call fcn.004f6ca0
cmp dword [esp + 0x10], 1
mov bl, 0x29
mov byte [esp + 0xd0], bl
jne 0x537f9d
push 0x2c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd0], 0x2a
test eax, eax
je 0x537f82
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push edx
mov ecx, eax
call fcn.005146a0
mov esi, eax
jmp 0x537f84
xor esi, esi
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], bl
call fcn.005bbe80
mov dword [eax], esi
jmp 0x538001
cmp dword [ebp + 0x14], 0
je 0x537fef
cmp dword [esp + 0x2c], 0
je 0x537fef
lea ecx, [esp + 0x30]
call fcn.004f6ca0
push 0
push 1
push 0
push 1
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xec], 0x2b
call fcn.00568760
add esp, 0x1c
lea ecx, [esp + 0x30]
mov byte [esp + 0xd0], bl
call fcn.00467410
jmp 0x538001
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00512760
add esp, 8
mov edi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x64]
xor esi, esi
test edi, edi
je 0x53804c
cmp dword [esp + 0x68], esi
jle 0x538041
push edi
test edi, edi
jle 0x538029
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + esi*4]
push ecx
push ebx
call fcn.005733f0
jmp 0x538037
mov edx, dword [esp + 0x74]
mov eax, dword [edx + esi*4]
push eax
push ebx
call fcn.005734a0
inc esi
add esp, 0xc
cmp esi, dword [esp + 0x68]
jl 0x538014
lea ecx, [esp + 0x68]
call fcn.004f6cf0
jmp 0x53806f
cmp dword [esp + 0x68], 0
jle 0x53806f
mov ecx, dword [esp + 0x70]
mov edx, dword [ebx]
lea edi, [ecx + esi*4]
push edx
mov ecx, ebx
call fcn.005bbe80
mov ecx, dword [edi]
inc esi
mov dword [eax], ecx
cmp esi, dword [esp + 0x68]
jl 0x538053
lea ecx, [esp + 0x10]
call fcn.004f6cf0
mov ebx, dword [ebx]
lea ecx, [esp + 0x68]
mov byte [esp + 0xd0], 0
call fcn.00467410
lea ecx, [esp + 0x10]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00467410
mov eax, ebx
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.005bd2c6
mov esp, ebp
pop ebp
ret 0x10