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

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
push edi
push ebx
push eax
lea esi, [eax + 0x18]
call fcn.004c73fe
add esp, 0xc
test eax, eax
jne 0x4c8ff6
mov eax, 0x14c
cmp ebx, eax
ja 0x4c8e91
je 0x4c8e83
add eax, 0xffffffca
cmp ebx, eax
ja 0x4c8de5
je 0x4c8ddb
sub ebx, 0xfe
je 0x4c8dd1
sub ebx, 4
je 0x4c8dc6
sub ebx, 5
je 0x4c8dbb
sub ebx, 3
je 0x4c8db0
sub ebx, 8
je 0x4c8da5
sub ebx, 3
jne 0x4c8f9d
mov eax, dword [edi]
mov cx, word [esi + 0x36]
jmp 0x4c8f7f
mov eax, dword [edi]
mov cx, word [esi + 0x34]
jmp 0x4c8f7f
mov eax, dword [edi]
mov cx, word [esi + 0x32]
jmp 0x4c8f7f
mov eax, dword [edi]
mov cx, word [esi + 0x30]
jmp 0x4c8f7f
mov eax, dword [edi]
mov cx, word [esi + 0x28]
jmp 0x4c8f7f
mov eax, dword [edi]
mov ecx, dword [esi + 0x24]
jmp 0x4c8ff4
mov eax, dword [edi]
mov ecx, dword [esi + 0x38]
jmp 0x4c8ff4
sub ebx, 0x118
je 0x4c8e78
dec ebx
je 0x4c8e6d
sub ebx, 3
je 0x4c8e62
sub ebx, 0xc
je 0x4c8e57
sub ebx, 5
jne 0x4c8f9d
cmp dword [esi + 0xe0], 0
lea ebx, [esi + 0xe0]
jne 0x4c8e1d
push esi
call fcn.004c8ffd
pop ecx
mov eax, dword [edi]
mov ecx, dword [ebx]
add edi, 4
push 1
mov dword [eax], ecx
movzx eax, word [esi + 0x78]
movzx ecx, word [esi + 0x36]
sub ecx, eax
pop eax
cmp ecx, eax
jle 0x4c8ff9
mov ecx, dword [edi]
mov edx, dword [esi + 0xe4]
add edi, 4
mov dword [ecx], edx
mov edx, dword [esi + 0xe8]
mov ecx, dword [edi]
mov dword [ecx], edx
jmp 0x4c8ff9
mov eax, dword [edi]
mov cx, word [esi + 0x58]
jmp 0x4c8f7f
mov eax, dword [edi]
mov cx, word [esi + 0x5a]
jmp 0x4c8f7f
mov eax, dword [edi]
mov cx, word [esi + 0x3e]
jmp 0x4c8f7f
mov eax, dword [edi]
mov cx, word [esi + 0x3c]
jmp 0x4c8f7f
mov eax, dword [edi]
mov cx, word [esi + 0xec]
jmp 0x4c8f7f
mov eax, 0x213
cmp ebx, eax
ja 0x4c8f84
je 0x4c8f76
sub ebx, 0x14e
je 0x4c8f6b
dec ebx
dec ebx
je 0x4c8f4d
dec ebx
dec ebx
je 0x4c8f37
dec ebx
je 0x4c8f2f
sub ebx, 0xbe
je 0x4c8eeb
dec ebx
jne 0x4c8f9d
mov eax, dword [edi]
mov cx, word [esi + 0xcc]
add edi, 4
mov word [eax], cx
mov cx, word [esi + 0xce]
mov eax, dword [edi]
jmp 0x4c8f7f
cmp dword [esi + 0xc8], 0
jne 0x4c8f22
push 0xc
call fcn.004db716
mov dword [esi + 0xc8], eax
mov dword [eax], 0x3e991687
mov eax, dword [esi + 0xc8]
pop ecx
mov dword [eax + 4], 0x3f1645a2
mov eax, dword [esi + 0xc8]
mov dword [eax + 8], 0x3de978d5
mov eax, dword [edi]
mov ecx, dword [esi + 0xc8]
jmp 0x4c8ff4
mov eax, dword [edi]
mov cx, word [esi + 0x2a]
jmp 0x4c8f7f
mov eax, dword [edi]
mov cx, word [esi + 0x78]
add edi, 4
mov word [eax], cx
mov ecx, dword [esi + 0x7c]
mov eax, dword [edi]
jmp 0x4c8ff4
mov eax, dword [edi]
add edi, 4
push 1
and word [eax], 0
mov cl, byte [esi + 0x28]
pop eax
mov edx, eax
shl edx, cl
mov ecx, dword [edi]
dec edx
mov word [ecx], dx
jmp 0x4c8ff9
mov eax, dword [edi]
mov cx, word [esi + 0xee]
jmp 0x4c8f7f
mov eax, dword [edi]
mov cx, word [esi + 0xd0]
mov word [eax], cx
jmp 0x4c8ff6
sub ebx, 0x214
je 0x4c8fda
sub ebx, 0x7ecf
je 0x4c8fbc
dec ebx
je 0x4c8faf
dec ebx
je 0x4c8fa8
dec ebx
je 0x4c8fa1
xor eax, eax
jmp 0x4c8ff9
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
jmp 0x4c8ff4
mov eax, dword [edi]
mov ecx, dword [esi + 0x14]
jmp 0x4c8ff4
mov ax, word [esi + 0x2a]
mov ecx, dword [edi]
dec ax
mov word [ecx], ax
jmp 0x4c8ff6
push 1
pop eax
cmp word [esi + 0x78], ax
jne 0x4c8fd1
mov ecx, dword [esi + 0x7c]
cmp word [ecx], ax
jne 0x4c8fd1
mov ecx, eax
jmp 0x4c8fd3
xor ecx, ecx
mov edx, dword [edi]
mov word [edx], cx
jmp 0x4c8ff9
cmp dword [esi + 0xdc], 0
lea ebx, [esi + 0xdc]
jne 0x4c8ff0
push esi
call fcn.004c90d5
pop ecx
mov eax, dword [edi]
mov ecx, dword [ebx]
mov dword [eax], ecx
push 1
pop eax
pop edi
pop esi
pop ebx
ret