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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x7c]
cmp ebx, ecx
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x84]
mov edx, ebp
mov dword [esp + 0x28], eax
mov eax, ecx
cmovle eax, ebx
cmp dword [esp + 0x28], eax
jle 0x4db0e0
cmp ebx, ecx
jl 0x4db270
mov eax, dword [esp + 0x24]
sub eax, edx
mov ecx, eax
sar ecx, 3
imul ecx, ecx, 0xcccccccd
test eax, eax
mov eax, edi
jle 0x4dafe9
mov edx, ebp
mov ebx, dword [edx]
add eax, 0x28
add edx, 0x28
mov dword [eax - 0x28], ebx
mov ebx, dword [edx - 0x24]
mov dword [eax - 0x24], ebx
mov ebx, dword [edx - 0x20]
mov dword [eax - 0x20], ebx
mov ebx, dword [edx - 0x1c]
mov dword [eax - 0x1c], ebx
mov ebx, dword [edx - 0x18]
mov dword [eax - 0x18], ebx
mov ebx, dword [edx - 0x14]
mov dword [eax - 0x14], ebx
mov ebx, dword [edx - 0x10]
mov dword [eax - 0x10], ebx
mov ebx, dword [edx - 0xc]
mov dword [eax - 0xc], ebx
mov ebx, dword [edx - 8]
mov dword [eax - 8], ebx
mov ebx, dword [edx - 4]
mov dword [eax - 4], ebx
sub ecx, 1
jne 0x4dafa3
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x80], ecx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004de330
mov ebp, esi
sub ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov ebx, esi
sar ebp, 3
imul eax, ebp, 0xcccccccd
sub dword [esp + 0x2c], eax
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x4c]
sub dword [esp + 0x28], ecx
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp], edi
mov dword [esp + 4], ebp
call fcn.004dc250
mov ebp, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov dword [esp + 8], ebp
mov dword [esp + 4], edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.004daf30
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
cmovle eax, ecx
cmp eax, dword [esp + 0x28]
jl 0x4db374
mov edi, dword [esp + 0x34]
mov ecx, ebp
mov edx, ebx
mov ebp, esi
mov esi, ecx
lea esi, [esi]
sub edx, esi
mov ecx, edx
sar ecx, 3
imul ecx, ecx, 0xcccccccd
test edx, edx
jle 0x4db266
mov ebx, edi
mov eax, esi
lea esi, [esi]
mov edx, dword [eax]
add ebx, 0x28
add eax, 0x28
mov dword [ebx - 0x28], edx
mov edx, dword [eax - 0x24]
mov dword [ebx - 0x24], edx
mov edx, dword [eax - 0x20]
mov dword [ebx - 0x20], edx
mov edx, dword [eax - 0x1c]
mov dword [ebx - 0x1c], edx
mov edx, dword [eax - 0x18]
mov dword [ebx - 0x18], edx
mov edx, dword [eax - 0x14]
mov dword [ebx - 0x14], edx
mov edx, dword [eax - 0x10]
mov dword [ebx - 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [ebx - 0xc], edx
mov edx, dword [eax - 8]
mov dword [ebx - 8], edx
mov edx, dword [eax - 4]
mov dword [ebx - 4], edx
sub ecx, 1
jne 0x4db100
cmp dword [esp + 0x24], ebp
je 0x4db204
cmp ebx, edi
je 0x4db204
mov eax, edi
mov edi, ebp
mov ebp, eax
jmp 0x4db1ab
mov eax, dword [edi]
add esi, 0x28
add edi, 0x28
mov dword [esi - 0x28], eax
mov eax, dword [edi - 0x24]
mov dword [esi - 0x24], eax
mov eax, dword [edi - 0x20]
mov dword [esi - 0x20], eax
mov eax, dword [edi - 0x1c]
mov dword [esi - 0x1c], eax
mov eax, dword [edi - 0x18]
mov dword [esi - 0x18], eax
mov eax, dword [edi - 0x14]
mov dword [esi - 0x14], eax
mov eax, dword [edi - 0x10]
mov dword [esi - 0x10], eax
mov eax, dword [edi - 0xc]
mov dword [esi - 0xc], eax
mov eax, dword [edi - 8]
mov dword [esi - 8], eax
mov eax, dword [edi - 4]
mov dword [esi - 4], eax
cmp ebx, ebp
je 0x4db202
cmp dword [esp + 0x24], edi
je 0x4db202
mov dword [esp + 4], ebp
mov dword [esp], edi
mov eax, dword [esp + 0x20]
call eax
test al, al
jne 0x4db160
mov eax, dword [ebp]
add ebp, 0x28
add esi, 0x28
mov dword [esi - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [esi - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [esi - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esi - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esi - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [esi - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esi - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [esi - 8], eax
mov eax, dword [ebp - 4]
mov dword [esi - 4], eax
cmp ebx, ebp
jne 0x4db1a5
mov edi, ebp
cmp ebx, edi
je 0x4db266
sub ebx, edi
mov eax, ebx
sar eax, 3
imul eax, eax, 0xcccccccd
test ebx, ebx
jle 0x4db266
lea esi, [esi]
mov edx, dword [edi]
add esi, 0x28
add edi, 0x28
mov dword [esi - 0x28], edx
mov edx, dword [edi - 0x24]
mov dword [esi - 0x24], edx
mov edx, dword [edi - 0x20]
mov dword [esi - 0x20], edx
mov edx, dword [edi - 0x1c]
mov dword [esi - 0x1c], edx
mov edx, dword [edi - 0x18]
mov dword [esi - 0x18], edx
mov edx, dword [edi - 0x14]
mov dword [esi - 0x14], edx
mov edx, dword [edi - 0x10]
mov dword [esi - 0x10], edx
mov edx, dword [edi - 0xc]
mov dword [esi - 0xc], edx
mov edx, dword [edi - 8]
mov dword [esi - 8], edx
mov edx, dword [edi - 4]
mov dword [esi - 4], edx
sub eax, 1
jne 0x4db220
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jle 0x4db304
mov eax, ecx
mov esi, dword [esp + 0x40]
shr eax, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x3c]
sar eax, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [esp + 0x24]
sub eax, esi
mov ebx, eax
sar ebx, 3
imul ebx, ebx, 0xcccccccd
test eax, eax
jle 0x4db3d5
mov dword [esp + 0x38], edi
jmp 0x4db2e0
sub ebx, ebp
lea esi, [edi + 0x28]
sub ebx, 1
test ebx, ebx
jle 0x4db020
mov ebp, ebx
sar ebp, 1
lea eax, [ebp + ebp*4]
lea edi, [esi + eax*8]
mov eax, dword [esp + 0x38]
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
call eax
test al, al
jne 0x4db2d0
mov ebx, ebp
jmp 0x4db2d8
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
mov eax, ecx
shr eax, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x40]
sar eax, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, ecx
sub eax, edi
mov ebx, eax
sar ebx, 3
imul ebx, ebx, 0xcccccccd
test eax, eax
jle 0x4db3c7
mov dword [esp + 0x38], esi
jmp 0x4db350
sub ebx, ebp
lea edi, [esi + 0x28]
sub ebx, 1
test ebx, ebx
jle 0x4db390
mov ebp, ebx
sar ebp, 1
lea eax, [ebp + ebp*4]
lea esi, [edi + eax*8]
mov eax, dword [esp + 0x38]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [esp + 0x20]
call eax
test al, al
je 0x4db344
mov ebx, ebp
jmp 0x4db34c
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x30], ecx
jl 0x4db3ba
mov ecx, ebp
mov edx, ebx
mov ebp, esi
mov edi, dword [esp + 0x34]
mov esi, ecx
jmp 0x4daf8a
mov eax, edi
sub eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
sar eax, 3
imul eax, eax, 0xcccccccd
sub dword [esp + 0x28], eax
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x4c]
mov ebx, esi
sub dword [esp + 0x2c], ecx
jmp 0x4db045
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebp
jmp 0x4db284
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x48], 0
jmp 0x4db3ab
mov esi, dword [esp + 0x40]
mov dword [esp + 0x44], 0
mov ebx, esi
jmp 0x4db03d