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

Disassembly:
sub esp, 0x78
mov eax, dword [0x537eb4]
xor eax, esp
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x84]
push ebx
mov ebx, dword [esp + 0x84]
add eax, ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x8c]
lea esi, [ecx + edx]
push ecx
push edx
mov dword [esp + 0x2c], esi
mov esi, dword [edi + 0x54b8]
lea ecx, [edi + 0x804]
push dword [edi + 0x5454]
mov ebp, dword [edi + 0x54c8]
mov dword [esp + 0x20], esi
add ebp, esi
mov dword [esp + 0x24], esi
lea esi, [edi + 0x804]
mov dword [esp + 0x2c], eax
lea eax, [edi + 0xc08]
push ecx
mov dword [esp + 0x3c], esi
mov esi, dword [edi + 0x5414]
push eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x50], esi
mov esi, dword [edi + 0x5418]
push edi
mov dword [esp + 0x50], esi
mov esi, dword [edi + 0x541c]
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], esi
call fcn.004df0af
mov esi, dword [esp + 0x30]
add esp, 0x1c
cmp eax, 0xffffff88
ja 0x4dfa60
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4dfa2a
lea eax, [edi + 0x5424]
mov dword [edi + 0x5454], 1
mov esi, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x78]
sub eax, ecx
push eax
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x54]
push ecx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004dd5c4
add esp, 0xc
cmp eax, 0xffffff88
ja 0x4dfa44
push dword [esp + 0x28]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004d8953
push dword [esp + 0x38]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.004d8953
push dword [esp + 0x48]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004d8953
lea eax, [esp + 0x74]
push eax
call fcn.004d128a
add esp, 0x28
cmp eax, 2
jg 0x4dfa14
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4dfa3a
dec eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004df1d1
pop ecx
pop ecx
push dword [esp + 0x34]
lea ecx, [esp + 0x1c]
mov esi, eax
push dword [esp + 0x3c]
push dword [esp + 0x44]
push ebp
push ecx
sub esp, 0xc
mov edi, esp
push dword [esp + 0x40]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004dfb2b
add esp, 0x28
cmp eax, 0xffffff88
ja 0x4dfa60
add ebx, eax
lea eax, [esp + 0x50]
push eax
call fcn.004d128a
pop ecx
cmp eax, 2
jle 0x4df9aa
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], 0
jne 0x4dfa44
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
sub ebp, esi
sub eax, ebx
cmp ebp, eax
jbe 0x4dfa49
push 0xffffffffffffffba
jmp 0x4dfa46
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jmp 0x4dfa1b
push 0xffffffffffffffec
pop eax
jmp 0x4dfa60
test ebp, ebp
je 0x4dfa5a
push ebp
push esi
push ebx
call fcn.004e4d00
add esp, 0xc
add ebx, ebp
sub ebx, dword [esp + 0x40]
mov eax, ebx
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e424b
add esp, 0x78
ret