Function at 0x49d640
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 0x49d790
cmp ecx, eax
mov edx, ebp
jl 0x49d790
sub edx, ebx
cmp edx, 0xf
jle 0x49d785
xor eax, eax
nop
lea esi, [esi]
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
add eax, 0x10
cmp edx, eax
jne 0x49d6b0
cmp dword [esp + 0x24], ebp
lea esi, [edi + edx]
je 0x49d74c
cmp edi, esi
je 0x49d74c
mov eax, edi
mov edi, ebp
mov ebp, eax
jmp 0x49d717
mov eax, dword [edi]
add ebx, 0x10
add 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 0x49d74a
cmp edi, dword [esp + 0x24]
je 0x49d74a
mov dword [esp + 4], ebp
mov dword [esp], edi
mov eax, dword [esp + 0x20]
call eax
test al, al
jne 0x49d6f0
mov eax, dword [ebp]
add ebp, 0x10
add ebx, 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 0x49d711
mov edi, ebp
cmp esi, edi
je 0x49d785
sub esi, edi
cmp esi, 0xf
jle 0x49d785
xor eax, eax
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
add eax, 0x10
cmp esi, eax
jne 0x49d760
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 0x49d810
mov eax, dword [esp + 0x24]
sub eax, edx
cmp eax, 0xf
mov edx, eax
jle 0x49da1d
xor eax, eax
nop
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
add eax, 0x10
cmp edx, eax
jne 0x49d7b0
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.004a0ee0
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 0x49d960
mov esi, eax
shr eax, 0x1f
mov ebx, dword [esp + 0x24]
add eax, esi
sar eax, 1
mov ebp, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
shl ebp, 4
add ebp, dword [esp + 0x38]
sub ebx, eax
sar ebx, 4
test ebx, ebx
jle 0x49da24
mov edi, eax
mov dword [esp + 0x34], ebp
jmp 0x49d871
mov edx, ebx
lea edi, [esi + 0x10]
sub edx, ebp
lea ebx, [edx - 1]
test ebx, ebx
jle 0x49d897
mov ebp, ebx
mov eax, dword [esp + 0x34]
sar ebp, 1
mov esi, ebp
shl esi, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
add esi, edi
mov dword [esp], esi
call eax
test al, al
jne 0x49d863
mov ebx, ebp
test ebx, ebx
jg 0x49d871
mov eax, edi
sub eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x34]
mov esi, edi
sar eax, 4
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.0049ec40
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.0049d640
mov edx, dword [esp + 0x3c]
sub dword [esp + 0x28], edx
mov edx, dword [esp + 0x28]
cmp ebx, edx
jg 0x49d9f0
mov ecx, dword [esp + 0x2c]
cmp ebx, ecx
jg 0x49d9f0
mov ebp, edi
mov edx, esi
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
jmp 0x49d69b
mov esi, dword [esp + 0x28]
mov eax, esi
shr eax, 0x1f
add eax, esi
sar eax, 1
mov edi, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
shl edi, 4
add edi, eax
mov esi, eax
mov eax, dword [esp + 0x38]
sub esi, eax
sar esi, 4
test esi, esi
jle 0x49da37
mov ebp, eax
mov dword [esp + 0x34], edi
jmp 0x49d9ac
sub esi, edi
lea ebp, [ebx + 0x10]
lea esi, [esi - 1]
test esi, esi
jle 0x49d9d2
mov edi, esi
mov eax, dword [esp + 0x34]
sar edi, 1
mov ebx, edi
shl ebx, 4
mov dword [esp], eax
mov eax, dword [esp + 0x20]
add ebx, ebp
mov dword [esp + 4], ebx
call eax
test al, al
je 0x49d9a0
mov esi, edi
test esi, esi
jg 0x49d9ac
mov eax, ebp
sub eax, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov esi, edi
sar eax, 4
mov dword [esp + 0x48], eax
jmp 0x49d8aa
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x28], edx
mov dword [esp + 0x40], edi
jg 0x49da10
mov ebp, edi
mov edx, esi
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
jmp 0x49d79c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
jmp 0x49d820
mov edx, edi
jmp 0x49d7d8
mov edi, dword [esp + 0x40]
mov dword [esp + 0x3c], 0
mov esi, edi
jmp 0x49d8aa
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x48], 0
mov esi, edi
jmp 0x49d8aa