Function at 0x49cdb0
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 0x49cf00
cmp ecx, eax
mov edx, ebp
jl 0x49cf00
sub edx, ebx
cmp edx, 0xf
jle 0x49cef5
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 0x49ce20
cmp dword [esp + 0x24], ebp
lea esi, [edi + edx]
je 0x49cebc
cmp edi, esi
je 0x49cebc
mov eax, edi
mov edi, ebp
mov ebp, eax
jmp 0x49ce87
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 0x49ceba
cmp edi, dword [esp + 0x24]
je 0x49ceba
mov dword [esp + 4], ebp
mov dword [esp], edi
mov eax, dword [esp + 0x20]
call eax
test al, al
jne 0x49ce60
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 0x49ce81
mov edi, ebp
cmp esi, edi
je 0x49cef5
sub esi, edi
cmp esi, 0xf
jle 0x49cef5
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 0x49ced0
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 0x49cf80
mov eax, dword [esp + 0x24]
sub eax, edx
cmp eax, 0xf
mov edx, eax
jle 0x49d18d
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 0x49cf20
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.004a0c60
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 0x49d0d0
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 0x49d194
mov edi, eax
mov dword [esp + 0x34], ebp
jmp 0x49cfe1
mov edx, ebx
lea edi, [esi + 0x10]
sub edx, ebp
lea ebx, [edx - 1]
test ebx, ebx
jle 0x49d007
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 0x49cfd3
mov ebx, ebp
test ebx, ebx
jg 0x49cfe1
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.0049e760
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.0049cdb0
mov edx, dword [esp + 0x3c]
sub dword [esp + 0x28], edx
mov edx, dword [esp + 0x28]
cmp ebx, edx
jg 0x49d160
mov ecx, dword [esp + 0x2c]
cmp ebx, ecx
jg 0x49d160
mov ebp, edi
mov edx, esi
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
jmp 0x49ce0b
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 0x49d1a7
mov ebp, eax
mov dword [esp + 0x34], edi
jmp 0x49d11c
sub esi, edi
lea ebp, [ebx + 0x10]
lea esi, [esi - 1]
test esi, esi
jle 0x49d142
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 0x49d110
mov esi, edi
test esi, esi
jg 0x49d11c
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 0x49d01a
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x28], edx
mov dword [esp + 0x40], edi
jg 0x49d180
mov ebp, edi
mov edx, esi
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
jmp 0x49cf0c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
jmp 0x49cf90
mov edx, edi
jmp 0x49cf48
mov edi, dword [esp + 0x40]
mov dword [esp + 0x3c], 0
mov esi, edi
jmp 0x49d01a
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x48], 0
mov esi, edi
jmp 0x49d01a