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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x5a1014]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x14], eax
push edi
mov edi, dword [ebp + 8]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov byte [esp + 0x13], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
test edi, edi
je 0x4dd36a
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
js 0x4dd3a5
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push ecx
push edi
call dword [eax + 0x1c]
mov ebx, eax
test ebx, ebx
js 0x4dd3a5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
lea edx, [eax + 1]
test edx, edx
jne 0x4dd379
test ecx, ecx
je 0x4dd671
mov ecx, 0x7fffffff
cmp eax, ecx
ja 0x4dd671
sub ecx, eax
cmp ecx, 1
jb 0x4dd671
mov ecx, 0xfeff
cmp eax, ecx
ja 0x4dd3b3
sub ecx, eax
cmp ecx, 1
jb 0x4dd3b3
push 0x14
jmp 0x4dd3ba
mov ecx, ebx
call fcn.004fd165
mov eax, ebx
jmp 0x4dd676
mov byte [esp + 0x13], 1
push 0x38
imul ebx, edx, 0x28
xor edx, edx
pop ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], edx
add ebx, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], edx
test eax, eax
je 0x4dd40e
lea eax, [esp + 0x2c]
mov edx, ecx
push eax
lea eax, [esp + 0x20]
mov ecx, esi
push eax
lea eax, [esp + 0x38]
push eax
push edi
push ebx
call fcn.004dd68b
mov dword [esp + 0x14], eax
test eax, eax
js 0x4dd457
add ebx, dword [esp + 0x1c]
xor edx, edx
mov eax, dword [esp + 0x20]
mov ecx, edx
mov dword [esp + 0x14], edx
lea edx, [esp + 0x1c]
add eax, ecx
push edx
push dword [esp + 0x1c]
imul edx, eax, 0x28
mov ecx, esi
push ebx
add edx, dword [esp + 0x50]
call fcn.004ddb3a
mov dword [esp + 0x54], eax
test eax, eax
js 0x4dd664
mov ecx, dword [esp + 0x14]
add ebx, dword [esp + 0x1c]
inc ecx
add dword [esp + 0x18], 0x10
mov dword [esp + 0x14], ecx
cmp ecx, 1
jae 0x4dd467
mov eax, dword [esp + 0x20]
jmp 0x4dd414
mov ecx, eax
call fcn.004fd165
mov eax, dword [esp + 0x14]
jmp 0x4dd676
and dword [esp + 0x18], 0
cmp dword [esp + 0x28], 0
je 0x4dd503
cmp byte [esp + 0x13], 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], ebx
push eax
lea eax, [esp + 0x38]
mov edx, ebx
push eax
mov ecx, esi
push edi
je 0x4dd4ab
call fcn.004dc7f3
jmp 0x4dd4b0
mov ecx, edi
call fcn.004fd165
mov eax, edi
jmp 0x4dd676
call fcn.004dbe33
mov edi, eax
test edi, edi
js 0x4dd49d
add ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4dd4e5
mov eax, dword [esp + 0x30]
mov ecx, esi
push edi
mov dword [eax], edi
push dword [esp + 0x34]
mov eax, dword [esi]
push ebx
call dword [eax + 4]
mov dword [esp + 0x14], eax
test eax, eax
js 0x4dd457
add ebx, edi
jmp 0x4dd503
mov eax, dword [esi]
push 4
pop ecx
push ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
push ecx
push ebx
mov ecx, esi
call dword [eax + 4]
mov edi, eax
test edi, edi
js 0x4dd49d
add ebx, 4
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x24]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edi, eax
test edi, edi
js 0x4dd49d
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x50]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, eax
test edi, edi
js 0x4dd49d
cmp byte [esp + 0x13], 0
je 0x4dd5be
push 2
pop eax
mov word [esp + 0x70], ax
lea edi, [esp + 0x78]
mov ax, word [esp + 0x24]
lea edx, [esp + 0x6c]
mov word [esp + 0x72], ax
mov esi, 0x417620
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x74], eax
lea eax, [ebx - 0x20]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x6c], 0xffff0000
movsd dword es:[edi], dword [esi]
push 0x38
push edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xa4], eax
mov eax, dword [ecx]
jmp 0x4dd60f
mov ecx, esi
call fcn.004fd165
mov eax, esi
jmp 0x4dd676
mov ax, word [esp + 0x24]
mov word [esp + 0x58], ax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
inc eax
mov word [esp + 0x5a], ax
mov eax, dword [esp + 0x50]
cmp eax, 0xffff
ja 0x4dd671
mov word [esp + 0x6a], ax
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
xor eax, eax
mov word [esp + 0x68], ax
mov eax, dword [esp + 0x18]
push 0x14
mov dword [esp + 0x64], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
xor ebx, ebx
push ebx
call dword [eax + 4]
mov esi, eax
test esi, esi
js 0x4dd5b0
cmp dword [esp + 0x30], ebx
je 0x4dd638
push dword [esp + 0x30]
call dword [sym.imp.tbbmalloc.dll_scalable_free]
pop ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4dd659
mov esi, dword [eax]
push 0x8000
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4dd65d
mov eax, esi
test esi, esi
jne 0x4dd640
xor eax, eax
jmp 0x4dd676
xor ecx, ecx
call fcn.0047dc27
mov ecx, eax
call fcn.004fd165
mov eax, dword [esp + 0x54]
jmp 0x4dd676
mov eax, 0x80004005
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047a40f
mov esp, ebp
pop ebp
ret