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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push esi
push edi
push eax
lea ebx, [eax + 0x18]
call fcn.004db9d8
add esp, 0xc
test eax, eax
je 0x4e718b
mov eax, 1
jmp 0x4e75ed
cmp edi, 0x14c
jg 0x4e7273
je 0x4e742a
add edi, 0xffffff02
cmp edi, 0x2f
ja case.0x4e71ac.255
jmp dword [edi*4 + 0x4e71b3]
cmp edi, 0x213
jg 0x4e72c1
je 0x4e7561
cmp edi, 0x152
jg 0x4e72a9
je 0x4e745e
sub edi, 0x14e
je 0x4e7444
sub edi, 2
je 0x4e73fd
jmp case.0x4e71ac.255
sub edi, 0x211
je 0x4e74f2
dec edi
je 0x4e7537
jmp case.0x4e71ac.255
cmp edi, 0x80e4
jg 0x4e72ec
je 0x4e74c1
sub edi, 0x214
je 0x4e75c6
sub edi, 0x7ecf
je 0x4e7480
jmp case.0x4e71ac.255
sub edi, 0x80e5
je 0x4e74dd
dec edi
je 0x4e74ac
jmp case.0x4e71ac.255
add esi, 4
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0x24]
mov dword [eax], edx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x28]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x30]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x32]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x34]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x36]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0x38]
mov dword [eax], edx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x3c]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x3e]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x5a]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x58]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov ax, 1
mov edx, dword [esi - 4]
mov word [edx], 0
mov cx, word [ebx + 0x28]
shl ax, cl
add ax, 0xffff
add esi, 4
mov edx, dword [esi - 4]
mov word [edx], ax
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0xe2]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0xe4]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov cx, word [ebx + 0x78]
mov edx, dword [esi - 4]
add esi, 4
mov word [edx], cx
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0x7a]
mov dword [eax], edx
mov eax, 1
jmp 0x4e75ed
cmp word [ebx + 0x78], 1
jne 0x4e7490
mov edx, dword [ebx + 0x7a]
cmp word [edx], 1
je 0x4e7494
xor ecx, ecx
jmp 0x4e7499
mov ecx, 1
add esi, 4
mov eax, dword [esi - 4]
mov word [eax], cx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0x20]
mov dword [eax], edx
mov eax, 1
jmp 0x4e75ed
mov dx, word [ebx + 0x2a]
add dx, 0xffff
add esi, 4
mov eax, dword [esi - 4]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0x14]
mov dword [eax], edx
mov eax, 1
jmp 0x4e75ed
cmp dword [ebx + 0xc0], 0
jne 0x4e751f
push 0xc
call fcn.004e47bc
pop ecx
mov edi, eax
mov dword [ebx + 0xc0], edi
mov dword [edi], 0x3e991687
mov dword [edi + 4], 0x3f1645a2
mov dword [edi + 8], 0x3de978d5
add esi, 4
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0xc0]
mov dword [eax], edx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov cx, word [ebx + 0xc4]
mov edx, dword [esi - 4]
add esi, 4
mov word [edx], cx
mov dx, word [ebx + 0xc6]
mov eax, dword [esi - 4]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0xc8]
mov word [eax], dx
mov eax, 1
jmp 0x4e75ed
cmp dword [ebx + 0xd6], 0
jne 0x4e7588
push ebx
call fcn.004e7014
pop ecx
add esi, 4
mov edx, dword [esi - 4]
mov ecx, dword [ebx + 0xd6]
mov dword [edx], ecx
movzx eax, word [ebx + 0x36]
movzx edx, word [ebx + 0x78]
sub eax, edx
dec eax
jle 0x4e75bf
add esi, 4
mov eax, dword [ebx + 0xda]
mov ecx, dword [esi - 4]
add esi, 4
mov dword [ecx], eax
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0xde]
mov dword [eax], edx
mov eax, 1
jmp 0x4e75ed
cmp dword [ebx + 0xd2], 0
jne 0x4e75d6
push ebx
call fcn.004e7114
pop ecx
add esi, 4
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0xd2]
mov dword [eax], edx
mov eax, 1
jmp 0x4e75ed
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret