Function at 0x49d1c0
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 edx, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x7c]
mov ecx, edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x28], esi
cmp eax, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
jg 0x49d350
cmp ecx, eax
mov edx, ebp
jl 0x49d350
sub edx, ebx
mov eax, edx
sar eax, 3
imul eax, eax, 0xaaaaaaab
test eax, eax
jle 0x49d345
xor eax, eax
mov ecx, dword [ebx + eax]
mov dword [edi + eax], ecx
mov ecx, dword [ebx + eax + 4]
mov dword [edi + eax + 4], ecx
mov ecx, dword [ebx + eax + 8]
mov dword [edi + eax + 8], ecx
mov ecx, dword [ebx + eax + 0xc]
mov dword [edi + eax + 0xc], ecx
mov ecx, dword [ebx + eax + 0x10]
mov dword [edi + eax + 0x10], ecx
mov ecx, dword [ebx + eax + 0x14]
mov dword [edi + eax + 0x14], ecx
add eax, 0x18
cmp edx, eax
jne 0x49d232
cmp dword [esp + 0x24], ebp
lea esi, [edi + edx]
je 0x49d2f4
cmp edi, esi
je 0x49d2f4
mov eax, edi
mov edi, ebp
mov ebp, eax
jmp 0x49d2b3
mov eax, dword [edi]
add ebx, 0x18
add edi, 0x18
mov dword [ebx - 0x18], eax
mov eax, dword [edi - 0x14]
mov dword [ebx - 0x14], eax
mov eax, dword [edi - 0x10]
mov dword [ebx - 0x10], eax
mov eax, dword [edi - 0xc]
mov dword [ebx - 0xc], eax
mov eax, dword [edi - 8]
mov dword [ebx - 8], eax
mov eax, dword [edi - 4]
mov dword [ebx - 4], eax
cmp ebp, esi
je 0x49d2f2
cmp edi, dword [esp + 0x24]
je 0x49d2f2
mov dword [esp + 4], ebp
mov dword [esp], edi
mov eax, dword [esp + 0x20]
call eax
test al, al
jne 0x49d280
mov eax, dword [ebp]
add ebp, 0x18
add ebx, 0x18
mov dword [ebx - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebx - 4], eax
cmp ebp, esi
jne 0x49d2ad
mov edi, ebp
cmp esi, edi
je 0x49d345
sub esi, edi
mov eax, esi
sar eax, 3
imul eax, eax, 0xaaaaaaab
test eax, eax
jle 0x49d345
xor eax, eax
nop
lea esi, [esi]
mov edx, dword [edi + eax]
mov dword [ebx + eax], edx
mov edx, dword [edi + eax + 4]
mov dword [ebx + eax + 4], edx
mov edx, dword [edi + eax + 8]
mov dword [ebx + eax + 8], edx
mov edx, dword [edi + eax + 0xc]
mov dword [ebx + eax + 0xc], edx
mov edx, dword [edi + eax + 0x10]
mov dword [ebx + eax + 0x10], edx
mov edx, dword [edi + eax + 0x14]
mov dword [ebx + eax + 0x14], edx
add eax, 0x18
cmp esi, eax
jne 0x49d310
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x2c], esi
mov edx, ebp
jl 0x49d3f0
mov eax, dword [esp + 0x24]
sub eax, edx
mov edx, eax
sar eax, 3
imul eax, eax, 0xaaaaaaab
test eax, eax
jle 0x49d60d
xor eax, eax
nop
lea esi, [esi]
mov ecx, dword [ebp + eax]
mov dword [edi + eax], ecx
mov ecx, dword [ebp + eax + 4]
mov dword [edi + eax + 4], ecx
mov ecx, dword [ebp + eax + 8]
mov dword [edi + eax + 8], ecx
mov ecx, dword [ebp + eax + 0xc]
mov dword [edi + eax + 0xc], ecx
mov ecx, dword [ebp + eax + 0x10]
mov dword [edi + eax + 0x10], ecx
mov ecx, dword [ebp + eax + 0x14]
mov dword [edi + eax + 0x14], ecx
add eax, 0x18
cmp edx, eax
jne 0x49d380
add edx, edi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004a0d80
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
cmp eax, esi
jle 0x49d550
mov esi, eax
shr eax, 0x1f
mov ebx, dword [esp + 0x24]
add eax, esi
mov esi, dword [esp + 0x38]
sar eax, 1
mov dword [esp + 0x48], eax
lea eax, [eax + eax*2]
lea ebp, [esi + eax*8]
mov eax, dword [esp + 0x40]
sub ebx, eax
sar ebx, 3
imul ebx, ebx, 0xaaaaaaab
test ebx, ebx
jle 0x49d614
mov edi, eax
mov dword [esp + 0x34], ebp
jmp 0x49d45c
sub ebx, esi
lea edi, [ebp + 0x18]
sub ebx, 1
test ebx, ebx
jle 0x49d481
mov esi, ebx
sar esi, 1
lea eax, [esi + esi*2]
lea ebp, [edi + eax*8]
mov eax, dword [esp + 0x34]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
call eax
test al, al
jne 0x49d450
mov ebx, esi
test ebx, ebx
jg 0x49d45c
mov eax, edi
sub eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x34]
mov esi, edi
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x48]
sub dword [esp + 0x30], edx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], edi
mov dword [esp], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x3c]
mov ebx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + 4], eax
call fcn.0049e980
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.0049d1c0
mov edx, dword [esp + 0x3c]
sub dword [esp + 0x28], edx
mov edx, dword [esp + 0x28]
cmp ebx, edx
jg 0x49d5e0
mov ecx, dword [esp + 0x2c]
cmp ebx, ecx
jg 0x49d5e0
mov ebp, edi
mov edx, esi
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
jmp 0x49d21b
mov esi, dword [esp + 0x28]
mov eax, esi
shr eax, 0x1f
add eax, esi
mov esi, dword [esp + 0x40]
sar eax, 1
mov dword [esp + 0x3c], eax
lea eax, [eax + eax*2]
lea edi, [esi + eax*8]
mov eax, dword [esp + 0x38]
sub esi, eax
sar esi, 3
imul esi, esi, 0xaaaaaaab
test esi, esi
jle 0x49d627
mov ebp, eax
mov dword [esp + 0x34], edi
jmp 0x49d59c
sub esi, ebx
lea ebp, [edi + 0x18]
sub esi, 1
test esi, esi
jle 0x49d5c2
mov ebx, esi
sar ebx, 1
lea eax, [ebx + ebx*2]
lea edi, [ebp + eax*8]
mov eax, dword [esp + 0x34]
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [esp + 0x20]
call eax
test al, al
je 0x49d590
mov esi, ebx
test esi, esi
jg 0x49d59c
mov eax, ebp
sub eax, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov esi, edi
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [esp + 0x48], eax
jmp 0x49d49a
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x28], edx
mov dword [esp + 0x40], edi
jg 0x49d600
mov ebp, edi
mov edx, esi
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
jmp 0x49d360
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
jmp 0x49d400
mov edx, edi
jmp 0x49d3b8
mov edi, dword [esp + 0x40]
mov dword [esp + 0x3c], 0
mov esi, edi
jmp 0x49d49a
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x48], 0
mov esi, edi
jmp 0x49d49a