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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x610b28
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x38], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x5c], ebx
call edx
cmp eax, 0xcd
jne 0x430115
mov ebx, esi
jmp 0x430132
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
cmp eax, 0xce
jne 0x430132
mov ecx, esi
mov dword [esp + 0x5c], esi
call fcn.004a3cd0
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
test ebx, ebx
jne 0x430159
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
mov dword [esp + 0x54], 0
call fcn.004f4b50
test eax, eax
je 0x430190
mov ecx, esi
call fcn.004f4b50
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [esp + 0x54], eax
push esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x50], 0
call fcn.004b7680
lea ecx, [esp + 0x64]
mov dword [esp + 0xc0], 0
call fcn.004b76a0
lea ecx, [esp + 0x64]
call fcn.004f32d0
test eax, eax
je 0x43033c
lea ecx, [esp + 0x64]
call fcn.004f32d0
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
mov ecx, esi
call edx
cmp eax, 0xb
je 0x430239
cmp eax, 0xe
jne 0x430322
mov ecx, esi
call fcn.0046d010
push 0x1c
mov dword [esp + 0x5c], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x5c]
mov edi, eax
add esp, 4
mov dword [edi], 1
call fcn.004b5d80
mov dword [edi + 4], eax
movzx eax, word [esi + 0x5c]
mov word [edi + 8], ax
movzx eax, word [esi + 0x5e]
mov word [edi + 0xa], ax
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x74]
jmp 0x4302ea
mov ecx, esi
call fcn.0046d010
mov ecx, esi
mov dword [esp + 0x50], eax
call fcn.004a3cd0
mov ecx, eax
call fcn.00471270
mov edx, dword [eax]
mov dword [esp + 0x58], eax
mov ecx, eax
mov eax, dword [edx + 0x4c]
call eax
neg eax
sbb eax, eax
inc eax
cmp dword [edi + 0xc], 0
mov dword [esp + 0x48], eax
je 0x4302a2
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
test eax, eax
je 0x4302a2
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
movzx eax, ax
imul eax, eax, 0xa8
cmp dword [edx + eax + 4], 0
jne 0x430322
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x54]
mov edi, eax
add esp, 4
mov dword [edi], 0
call fcn.004bbd50
mov ecx, dword [esp + 0x58]
mov dword [edi + 4], eax
mov ax, word [esp + 0x48]
mov word [edi + 8], ax
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
mov word [edi + 0xa], ax
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x40]
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax + 4]
mov dword [edi + 0x10], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
mov ecx, esi
call edx
fstp dword [edi + 0x14]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov dword [edi + 0x18], esi
mov dword [ecx + eax*4], edi
mov edi, dword [esp + 0x38]
inc eax
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x64]
call fcn.004b76d0
lea ecx, [esp + 0x64]
call fcn.004f32d0
test eax, eax
jne 0x4301c7
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x43034b
call fcn.0046f8f0
jmp 0x430366
test byte [ebx + 0x3c], 2
mov ecx, ebx
je 0x43035a
call fcn.004de490
jmp 0x43035f
call fcn.0046cfe0
mov ecx, eax
call fcn.004ae600
mov esi, eax
mov ecx, esi
mov dword [esp + 0x50], 0
call fcn.004f4b50
test eax, eax
je 0x4303a3
mov ecx, esi
call fcn.004f4b50
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
mov edi, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x50], eax
push esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x40], 0
call fcn.004b76b0
lea ecx, [esp + 0x64]
call fcn.004b76a0
lea ecx, [esp + 0x64]
call fcn.004f32d0
test eax, eax
je 0x43075c
nop
lea ecx, [esp + 0x64]
call fcn.004f32d0
mov edi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
mov ecx, edi
call edx
cmp eax, 0xa
je 0x4305e0
cmp eax, 0xd
jne 0x43073e
cmp word [edi + 0x44], 1
jne 0x43073e
mov eax, dword [edi + 0x48]
movzx eax, word [eax + 2]
push eax
mov ecx, edi
call fcn.004c1fa0
mov ecx, eax
call fcn.004bc570
xor esi, esi
mov dword [esp + 0x58], eax
cmp eax, esi
je 0x43073e
mov ecx, eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x5c], esi
call fcn.004b5ef0
test eax, eax
jne 0x4304ea
mov eax, dword [esp + 0x58]
movzx eax, word [eax + 0x48]
xor ecx, ecx
cmp cx, ax
jae 0x43049b
mov ecx, dword [esp + 0x58]
push esi
call fcn.004b5e70
test eax, eax
je 0x430483
cmp dword [esp + 0x5c], 0
jne 0x43047c
movzx edx, si
movzx eax, si
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], 1
jmp 0x430483
movzx ecx, si
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x58]
movzx eax, word [edx + 0x48]
inc esi
cmp si, ax
jb 0x43044f
xor ecx, ecx
cmp dword [esp + 0x5c], ecx
jne 0x430502
jmp 0x43049d
xor ecx, ecx
mov eax, dword [esp + 0x58]
movzx eax, word [eax + 0x20]
test al, 2
je 0x4304c3
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
dec eax
movzx edx, ax
mov dword [esp + 0x40], edx
jmp 0x430502
test al, 4
je 0x4304e0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
dec eax
movzx eax, ax
movzx ecx, ax
mov dword [esp + 0x48], ecx
jmp 0x4304fe
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], ecx
jmp 0x430502
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
dec eax
mov dword [esp + 0x48], esi
movzx eax, ax
mov dword [esp + 0x40], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x7c]
mov ecx, edi
call eax
fstp qword [esp + 0x5c]
mov edx, dword [ebx]
mov eax, dword [edx + 0x40]
mov ecx, ebx
call eax
fadd qword [esp + 0x5c]
fstp dword [esp + 0x5c]
fld dword [0x62fad8]
fld dword [esp + 0x5c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x430541
fsub qword [0x62e880]
fstp dword [esp + 0x5c]
jmp 0x430543
fstp st(0)
mov edx, dword [edi]
mov edx, dword [edx + 0x5c]
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x44]
mov ecx, ebx
call edx
mov ecx, dword [eax]
add dword [esp + 0x6c], ecx
mov eax, dword [eax + 4]
add dword [esp + 0x70], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
mov ecx, ebx
call edx
fmul qword [0x62e318]
mov eax, dword [ebx]
mov edx, dword [eax + 0x44]
fdiv qword [0x62e310]
mov ecx, ebx
fstp qword [esp + 0x7c]
call edx
fld qword [esp + 0x7c]
push eax
sub esp, 8
lea ecx, [esp + 0x78]
fstp qword [esp]
call fcn.005eb3f0
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x5c]
mov esi, eax
add esp, 4
mov dword [esi], 1
call fcn.004b5d80
mov cx, word [esp + 0x40]
mov dword [esi + 4], eax
mov ax, word [esp + 0x48]
mov word [esi + 8], ax
mov word [esi + 0xa], cx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x70]
mov dword [esi + 0x10], eax
jmp 0x430724
mov ecx, edi
call fcn.004a3cd0
mov ecx, eax
call fcn.00471270
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
mov dword [esp + 0x48], esi
call eax
mov ecx, dword [esp + 0x38]
neg eax
sbb eax, eax
inc eax
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x58], eax
je 0x430644
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
test eax, eax
je 0x430644
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 4]
movzx eax, ax
imul eax, eax, 0xa8
cmp dword [ecx + eax + 4], 0
jne 0x43073e
mov edx, dword [edi]
mov eax, dword [edx + 0x7c]
mov ecx, edi
call eax
fstp qword [esp + 0x7c]
mov edx, dword [ebx]
mov eax, dword [edx + 0x40]
mov ecx, ebx
call eax
fadd qword [esp + 0x7c]
fstp dword [esp + 0x5c]
fld dword [0x62fad8]
fld dword [esp + 0x5c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x430683
fsub qword [0x62e880]
fstp dword [esp + 0x5c]
jmp 0x430685
fstp st(0)
mov edx, dword [edi]
mov edx, dword [edx + 0x5c]
lea eax, [esp + 0x74]
push eax
mov ecx, edi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x44]
mov ecx, ebx
call edx
mov ecx, dword [eax]
add dword [esp + 0x74], ecx
mov eax, dword [eax + 4]
add dword [esp + 0x78], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
mov ecx, ebx
call edx
fmul qword [0x62e318]
mov eax, dword [ebx]
mov edx, dword [eax + 0x44]
fdiv qword [0x62e310]
mov ecx, ebx
fstp qword [esp + 0x7c]
call edx
fld qword [esp + 0x7c]
push eax
sub esp, 8
lea ecx, [esp + 0x80]
fstp qword [esp]
call fcn.005eb3f0
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov ecx, edi
mov dword [esi], 0
call fcn.004c1840
mov ecx, dword [esp + 0x48]
mov dword [esi + 4], eax
mov ax, word [esp + 0x58]
mov word [esi + 8], ax
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
mov word [esi + 0xa], ax
mov ecx, dword [esp + 0x74]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x78]
mov dword [esi + 0x10], edx
fld dword [esp + 0x5c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
fstp dword [esi + 0x14]
mov dword [esi + 0x18], edi
mov dword [ecx + eax*4], esi
inc eax
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x64]
call fcn.004b76d0
lea ecx, [esp + 0x64]
call fcn.004f32d0
test eax, eax
jne 0x4303d0
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
cmp eax, 1
mov esi, dword [sym.imp.MSVCR90.dll_qsort]
jle 0x43077d
mov edx, dword [esp + 0x54]
push fcn.0042ee90
push 4
push eax
push edx
call esi
add esp, 0x10
mov eax, dword [esp + 0x3c]
cmp eax, 1
jle 0x430798
push fcn.0042ee90
push 4
push eax
mov eax, dword [esp + 0x5c]
push eax
call esi
add esp, 0x10
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], eax
mov edi, edi
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x48], ecx
jl 0x4307da
mov edx, dword [esp + 0x40]
cmp edx, dword [esp + 0x3c]
jge 0x430861
mov eax, dword [esi]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, edi
call fcn.0042ef70
mov edx, dword [esi]
push edx
jmp 0x43082d
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x3c]
jge 0x4307f2
push esi
push ebx
call fcn.0042ee90
add esp, 8
test eax, eax
jge 0x43081b
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x18]
push edx
mov ecx, edi
call fcn.0042ef70
mov eax, dword [ebx]
push eax
mov ecx, edi
call fcn.0042fa80
mov eax, 1
or dword [esp + 0x38], eax
add dword [esp + 0x48], eax
add ebx, 4
jmp 0x4307b0
jle 0x430849
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
push edx
mov ecx, edi
call fcn.0042ef70
mov eax, dword [esi]
push eax
mov ecx, edi
call fcn.0042fa80
mov eax, 1
or dword [esp + 0x38], eax
add dword [esp + 0x40], eax
add esi, 4
jmp 0x4307b0
mov eax, 1
add dword [esp + 0x48], eax
add dword [esp + 0x40], eax
add ebx, 4
add esi, 4
jmp 0x4307b0
xor esi, esi
test ecx, ecx
jle 0x430884
mov edx, dword [esp + 0x54]
mov eax, dword [edx + esi*4]
test eax, eax
je 0x43087f
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x50]
add esp, 4
inc esi
cmp esi, ecx
jl 0x430867
xor esi, esi
cmp dword [esp + 0x3c], esi
jle 0x4308ad
lea esp, [esp]
mov edi, dword [esp + 0x50]
mov eax, dword [edi + esi*4]
test eax, eax
je 0x4308a4
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
inc esi
cmp esi, dword [esp + 0x3c]
jl 0x430890
jmp 0x4308b1
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4308c2
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
test edi, edi
je 0x4308cf
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
cmp word [esp + 0x38], ax
lea ecx, [esp + 0x64]
setne al
mov dword [esp + 0xc0], 0xffffffff
mov esi, eax
call fcn.004ed1b0
mov eax, esi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4