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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x562e9e
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x63d20c]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x63d20c]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
push 0x40
mov dword [esp + 0x14], esi
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], ebx
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xa4], eax
mov dword [esp + 0x140], ebx
cmp eax, ebx
je 0x4ddcb9
mov edx, dword [esi + 8]
mov ecx, dword [edx + 0x80]
fld qword [edx + 0x68]
push ecx
mov ecx, dword [edx + 0x4a0]
push ecx
push ebx
sub esp, 8
fstp qword [esp]
push edx
push edi
mov ecx, eax
call fcn.00502f60
mov dword [esp + 0x98], eax
jmp 0x4ddcc0
mov dword [esp + 0x98], ebx
mov edx, dword [esi + 8]
fld qword [edx + 0x40]
mov dword [esp + 0x140], 0xffffffff
fmul qword [0x5c49f8]
fadd qword [0x579e48]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fnstcw word [esp + 0x18]
mov ax, word [esp + 0x18]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x14], ax
fldcw word [esp + 0x14]
fistp dword [esp + 0x28]
fldcw word [esp + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x30]
push ebx
push 1
push eax
push edx
lea eax, [esp + 0xf4]
push eax
mov ecx, esi
call fcn.004dd8e0
mov eax, dword [esp + 0x98]
cmp dword [eax + 4], ebx
mov ecx, dword [eax]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x30], ecx
jle 0x4de2ca
lea ebx, [ecx + 8]
mov dword [esp + 0x40], ebx
jmp 0x4ddd54
mov ecx, dword [esp + 0x30]
fld qword [ebx + 0x10]
fcomp qword [ebx]
fnstsw ax
test ah, 1
jne 0x4dde4b
fld qword [ebx]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fnstcw word [esp + 0x14]
mov ax, word [esp + 0x14]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0xc0]
fldcw word [esp + 0x14]
fld qword [ebx + 0x10]
mov esi, dword [esp + 0xc0]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fnstcw word [esp + 0x5c]
mov ax, word [esp + 0x5c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x64], ax
fldcw word [esp + 0x64]
fistp dword [esp + 0xc4]
fldcw word [esp + 0x5c]
mov edx, dword [esp + 0xc4]
fld qword [ecx]
fstp qword [esp + 0x1c]
mov dword [esp + 0x24], edx
fld qword [esp + 0x1c]
fnstcw word [esp + 0x6c]
mov ax, word [esp + 0x6c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x70], ax
fldcw word [esp + 0x70]
fistp dword [esp + 0xcc]
fldcw word [esp + 0x6c]
fld qword [ebx + 8]
mov edi, dword [esp + 0xcc]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fnstcw word [esp + 0x3c]
mov ax, word [esp + 0x3c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x74], ax
fldcw word [esp + 0x74]
fistp dword [esp + 0xb0]
fldcw word [esp + 0x3c]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x2c], eax
jmp 0x4ddf4a
fld qword [ebx + 0x10]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fnstcw word [esp + 0x7c]
mov ax, word [esp + 0x7c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x94], ax
fldcw word [esp + 0x94]
fistp dword [esp + 0xc8]
fldcw word [esp + 0x7c]
fld qword [ebx]
mov esi, dword [esp + 0xc8]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fnstcw word [esp + 0x84]
mov ax, word [esp + 0x84]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x44], ax
fldcw word [esp + 0x44]
fistp dword [esp + 0xb8]
fldcw word [esp + 0x84]
mov eax, dword [esp + 0xb8]
fld qword [ebx + 8]
fstp qword [esp + 0x1c]
mov dword [esp + 0x24], eax
fld qword [esp + 0x1c]
fnstcw word [esp + 0x50]
mov ax, word [esp + 0x50]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x8c], ax
fldcw word [esp + 0x8c]
fistp dword [esp + 0xd4]
fldcw word [esp + 0x50]
fld qword [ecx]
mov edi, dword [esp + 0xd4]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fnstcw word [esp + 0x58]
mov ax, word [esp + 0x58]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x90], ax
fldcw word [esp + 0x90]
fistp dword [esp + 0xa8]
fldcw word [esp + 0x58]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x2c], ecx
mov eax, ecx
cmp edi, eax
mov dword [esp + 0x28], eax
jle 0x4ddfba
mov dword [esp + 0x28], edi
mov ecx, eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
mov edx, dword [eax + 0x80]
push edx
push dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push edx
push esi
push ecx
mov ecx, dword [eax + 0x84]
call fcn.00500f40
mov ecx, eax
mov dword [esp + 0x28], ecx
cmp ecx, 1
je 0x4de25e
cmp esi, dword [esp + 0x24]
jne 0x4ddfdd
mov eax, dword [esp + 0x2c]
xor edx, edx
cmp edi, eax
jg 0x4ddfbe
test ecx, ecx
mov ecx, dword [esp + 0x10]
sete dl
push edx
push esi
push eax
push edi
lea eax, [esp + 0xf4]
push eax
call fcn.004da450
jmp 0x4de25e
mov ecx, edi
jmp 0x4ddf58
test ecx, ecx
mov ecx, dword [esp + 0x10]
sete dl
push edx
push esi
push edi
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.004da450
jmp 0x4de25e
mov ecx, dword [esp + 0x10]
fld qword [ebx + 0x18]
mov eax, dword [ecx + 8]
fstp qword [esp + 0x1c]
mov edx, dword [eax + 0x80]
mov ecx, dword [eax + 0x84]
push edx
call fcn.00501560
cmp esi, eax
mov dword [esp + 0x34], eax
jge 0x4de051
fild dword [esp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x30]
fsub qword [ebx]
fmul qword [esp + 0x1c]
fadd qword [eax]
fstp qword [esp + 0x9c]
fld qword [esp + 0x9c]
fnstcw word [esp + 0x60]
mov ax, word [esp + 0x60]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x78], ax
fldcw word [esp + 0x78]
fistp dword [esp + 0xd0]
fldcw word [esp + 0x60]
mov edi, dword [esp + 0xd0]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 0x80]
mov ecx, dword [eax + 0x84]
push edx
call fcn.00501580
mov ecx, dword [esp + 0x24]
cmp ecx, eax
mov dword [esp + 0x34], eax
jle 0x4de0d2
fild dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
fsub qword [ebx]
fmul qword [esp + 0x1c]
fadd qword [eax]
fstp qword [esp + 0x9c]
fld qword [esp + 0x9c]
fnstcw word [esp + 0x68]
mov ax, word [esp + 0x68]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x88], ax
fldcw word [esp + 0x88]
fistp dword [esp + 0xac]
fldcw word [esp + 0x68]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x24]
cmp edi, dword [esp + 0x2c]
mov dword [esp + 0x34], esi
jg 0x4de1a8
cmp esi, ecx
jg 0x4de25e
xor edx, edx
cmp dword [esp + 0x28], edx
sete dl
mov dword [esp + 0x9c], edx
jmp 0x4de10b
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x24]
cmp esi, ecx
jge 0x4de161
fild dword [esp + 0x34]
mov eax, dword [esp + 0x30]
fadd qword [0x5795e0]
fsub qword [ebx]
fmul qword [esp + 0x1c]
fadd qword [eax]
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fnstcw word [esp + 0x48]
mov ax, word [esp + 0x48]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x80], ax
fldcw word [esp + 0x80]
fistp dword [esp + 0xb4]
fldcw word [esp + 0x48]
mov ebx, dword [esp + 0xb4]
jmp 0x4de166
mov ebx, dword [esp + 0x2c]
inc ebx
push edx
push esi
cmp edi, ebx
jne 0x4de178
push edi
push edi
lea ecx, [esp + 0xf4]
push ecx
jmp 0x4de185
lea edx, [ebx - 1]
push edx
push edi
lea eax, [esp + 0xf4]
push eax
mov ecx, dword [esp + 0x24]
call fcn.004da450
inc esi
cmp esi, dword [esp + 0x24]
mov edi, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x34], esi
jle 0x4de100
jmp 0x4de25e
cmp esi, ecx
jg 0x4de25e
xor edx, edx
cmp dword [esp + 0x28], edx
sete dl
mov dword [esp + 0x9c], edx
jmp 0x4de1cd
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x24]
cmp esi, ecx
jge 0x4de21d
fild dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
fadd qword [0x5795e0]
fsub qword [ebx]
fmul qword [esp + 0x1c]
fadd qword [ecx]
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fnstcw word [esp + 0x54]
mov ax, word [esp + 0x54]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x4c], ax
fldcw word [esp + 0x4c]
fistp dword [esp + 0xbc]
fldcw word [esp + 0x54]
mov ebx, dword [esp + 0xbc]
jmp 0x4de222
mov ebx, dword [esp + 0x2c]
dec ebx
push edx
push esi
push edi
cmp edi, ebx
jne 0x4de234
push edi
lea edx, [esp + 0xf4]
push edx
jmp 0x4de240
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0xf4]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004da450
inc esi
cmp esi, dword [esp + 0x24]
mov edi, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x34], esi
jle 0x4de1c2
mov eax, dword [esp + 0x28]
inc dword [esp + eax*4 + 0xd8]
mov edx, dword [esp + 0x98]
add dword [esp + 0x30], 0x58
lea eax, [esp + eax*4 + 0xd8]
mov eax, dword [esp + 0xa4]
inc eax
add ebx, 0x58
cmp eax, dword [edx + 4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0x40], ebx
jl 0x4ddd50
cmp dword [esp + 0xe0], 0
jne 0x4de2d3
cmp dword [esp + 0xd8], 0
je 0x4de2c6
cmp dword [esp + 0xdc], 0
jne 0x4de2d3
mov eax, dword [esp + 0x10]
mov dword [eax + 0x38], 0
jmp 0x4de2de
mov esi, dword [esp + 0x10]
mov dword [esi + 0x38], 1
jmp 0x4de2de
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x38], 2
mov esi, dword [esp + 0x98]
mov ecx, esi
call fcn.00489e10
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.00551b9a
mov esp, ebp
pop ebp
ret 4