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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x4df4d7
sub esp, 0xb0
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
call fcn.004dec80
mov edx, dword [esp + 0xb4]
mov edi, dword [esp]
mov esi, dword [esp + 4]
mov ebp, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
cmp eax, 0
je 0x4df11f
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb0
ret
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x84], edi
mov ecx, edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x80], ebp
xor edi, edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x78], ecx
mov esi, ecx
mov ebp, dword [esp + 0x24]
cmp edi, ebp
jge 0x4df195
mov dword [esp + 0x2c], esi
mov eax, dword [esi]
mov dword [esp + 0x28], edi
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
cmp ecx, 0
jne 0x4df180
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x20], ecx
cmp edx, 0
je 0x4df1cd
cmp ecx, edx
je 0x4df1cd
add esi, 4
inc edi
mov ebp, dword [esp + 0x24]
cmp edi, ebp
jl 0x4df163
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xc0], ebx
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
add esp, 0xb0
ret
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0x28]
cmp eax, 0
je 0x4df4d0
mov edx, 0x2710
mov ecx, 0x2710
mov dword [esp + 0x6c], eax
mov dword [esp], eax
mov dword [esp + 0x70], edx
mov dword [esp + 4], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 8], ecx
call fcn.00456630
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov ebp, dword [ecx + 0x44]
cmp ebp, 1
jne 0x4df27b
mov ebx, dword [esp + 0xac]
or ebx, 1
mov dword [esp + 0xac], ebx
mov ebp, dword [ecx + 0x40]
cmp ebp, 0x18
ja 0x4df489
cmp ebp, 9
ja 0x4df44f
cmp ebp, 6
jne 0x4df441
mov ebx, dword [esp + 0xac]
or ebx, 0x12
mov dword [esp + 0xac], ebx
mov ebp, dword [ecx + 0x3c]
cmp ebp, 0xffffffff
jne 0x4df432
mov eax, 0xffffffff
mov dword [esp + 0x94], eax
mov ebp, dword [ecx + 0x34]
cmp ebp, 0
jbe 0x4df387
mov dword [esp], 0x5c41e0
mov ebp, dword [ecx + 0x34]
xor edx, edx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov ebp, dword [ecx + 0x34]
xor ecx, ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.0043c1f0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov ebp, dword [esp + 0x30]
cmp ebp, 0
je 0x4df42a
add ebp, 0x2c
cmp ebp, 0
je 0x4df422
mov edx, 8
mov ecx, 8
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], edx
cmp edx, eax
jge 0x4df36f
mov eax, edx
mov dword [esp + 0x60], edi
mov dword [esp], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.004536c0
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, ebx
inc ebx
cmp ebx, edx
ja 0x4df3e6
mov dword [esp + 0x40], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 0x20
add ebx, ebp
lea ebp, [esp + 0x90]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov ebp, 0x5ddfe0
mov dword [esp], ebp
call fcn.0040f3f0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x90]
cmp eax, edx
je 0x4df195
jmp 0x4df189
mov dword [esp], 0x5ddfe0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0043c390
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, ebx
inc ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], ecx
jmp 0x4df39e
mov dword [ebp], eax
jmp 0x4df32e
mov dword [ebp], eax
jmp 0x4df322
mov ebp, dword [ecx + 0x3c]
mov dword [esp + 0x94], ebp
jmp 0x4df2c2
cmp ebp, 9
je 0x4df299
jmp 0x4df2aa
cmp ebp, 0x17
jne 0x4df46a
mov ebx, dword [esp + 0xac]
or ebx, 0x18
mov dword [esp + 0xac], ebx
jmp 0x4df2aa
cmp ebp, 0x18
jne 0x4df2aa
mov ebx, dword [esp + 0xac]
or ebx, 0x14
mov dword [esp + 0xac], ebx
jmp 0x4df2aa
cmp ebp, 0x47
ja 0x4df4b7
cmp ebp, 0x25
jne 0x4df4a9
mov ebx, dword [esp + 0xac]
or ebx, 0x1a
mov dword [esp + 0xac], ebx
jmp 0x4df2aa
cmp ebp, 0x47
je 0x4df299
jmp 0x4df2aa
cmp ebp, 0x83
je 0x4df454
cmp ebp, 0x90
je 0x4df299
jmp 0x4df2aa
mov dword [eax], eax
jmp 0x4df1dd
call fcn.00450ed0
jmp fcn.004df080