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

Disassembly:
push 0xffffffffffffffff
push 0x5654b8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x88]
mov esi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x4c912e
xor eax, eax
jmp 0x4c9659
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c9133
sub eax, edx
sar eax, 1
cmp dword [esi + 0x28], 0
mov ebp, eax
mov dword [esp + 0x14], 0
je 0x4c92d0
xor ecx, ecx
mov edx, ebp
mov eax, ebx
test ebp, ebp
jle 0x4c91af
mov esi, 0x5c
cmp si, word [eax]
jne 0x4c91a6
movzx esi, word [eax + 2]
mov edi, 0x74
cmp di, si
je 0x4c919d
mov edi, 0x6e
cmp di, si
je 0x4c919c
add esi, 0xffffffd0
cmp si, 9
ja 0x4c9191
inc ecx
add eax, 2
jmp 0x4c91ab
add ecx, 2
add eax, 4
sub edx, 2
jmp 0x4c91ab
inc ecx
inc ecx
add eax, 4
sub edx, 2
jmp 0x4c91ab
inc ecx
add eax, 2
dec edx
test edx, edx
jg 0x4c9160
lea eax, [ecx + 1]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
mov esi, eax
add esp, 4
mov eax, ebp
mov ecx, esi
mov edx, ebx
call fcn.004be8f0
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 8]
push eax
lea ecx, [esp + 0x5c]
call fcn.004c31d0
push esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x84], 0
call fcn.004c31d0
mov edx, dword [edi + 0xc]
push 0
lea ecx, [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x94], 1
call fcn.004c8c10
push esi
mov byte [esp + 0x98], 2
call fcn.004ff267
mov eax, dword [esp + 0x3c]
mov esi, 8
add esp, 0x18
cmp dword [esp + 0x38], esi
jae 0x4c9244
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0044df70
add esp, 8
mov dword [esp + 0x14], eax
cmp dword [esp + 0x38], esi
jb 0x4c9266
mov edx, dword [esp + 0x24]
push edx
call fcn.004ff267
add esp, 4
xor ebx, ebx
xor eax, eax
mov edi, 7
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], ax
cmp dword [esp + 0x54], esi
jb 0x4c928f
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004ff267
add esp, 4
xor edx, edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], dx
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x70], esi
jb 0x4c92bc
mov eax, dword [esp + 0x5c]
push eax
call fcn.004ff267
add esp, 4
xor ecx, ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
jmp 0x4c9485
cmp dword [esi + 8], 0
je 0x4c9655
xor ecx, ecx
xor edi, edi
mov esi, ebp
mov eax, ebx
test ebp, ebp
jle 0x4c936b
lea ebx, [ebx]
movzx edx, word [eax]
mov ebx, 0x5c
cmp bx, dx
jne 0x4c932a
movzx edx, word [eax + 2]
mov ebx, 0x74
cmp bx, dx
je 0x4c9321
mov ebx, 0x6e
cmp bx, dx
je 0x4c9320
add ecx, 2
add eax, 4
sub esi, 2
jmp 0x4c9363
inc ecx
inc ecx
add eax, 4
sub esi, 2
jmp 0x4c9363
mov ebx, 0x5b
cmp bx, dx
jne 0x4c933d
test edi, edi
jne 0x4c935e
lea edi, [ebx - 0x5a]
jmp 0x4c935e
mov ebx, 0x5d
cmp bx, dx
jne 0x4c935e
test edi, edi
je 0x4c935e
mov edx, 0x5c
cmp dx, word [eax - 2]
jne 0x4c935c
cmp dx, word [eax - 4]
je 0x4c935e
xor edi, edi
inc ecx
add eax, 2
dec esi
test esi, esi
jg 0x4c92f0
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
mov ecx, eax
push 1
mov eax, ebp
mov edx, ebx
mov dword [esp + 0x20], ecx
call fcn.004bde50
movzx eax, word [ecx]
add esp, 8
xor ebp, ebp
mov esi, ecx
test ax, ax
je 0x4c93e1
mov edi, dword [esp + 0x1c]
jmp 0x4c93b0
add esi, 2
cmp ax, 0x26
jne 0x4c94f9
xor eax, eax
mov ecx, dword [edi + eax*4 + 0x2c]
test ecx, ecx
je 0x4c93d9
mov eax, dword [edi + eax*4 + 0x54]
test eax, eax
je 0x4c93d9
cmp eax, ecx
jbe 0x4c93d9
sub eax, ecx
sar eax, 1
add ebp, eax
movzx eax, word [esi]
test ax, ax
jne 0x4c93b0
xor ecx, ecx
lea eax, [ebp + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
mov edi, eax
add esp, 4
test edi, edi
je 0x4c9655
mov ebx, dword [esp + 0x18]
xor eax, eax
mov word [edi + ebp*2], ax
movzx esi, word [ebx]
mov dword [esp + 0x14], edi
test si, si
je 0x4c9476
lea ecx, [ecx]
add ebx, 2
cmp si, 0x26
jne 0x4c9538
xor eax, eax
mov ebp, dword [esp + 0x1c]
mov edx, dword [ebp + eax*4 + 0x2c]
test edx, edx
je 0x4c946e
mov ecx, dword [ebp + eax*4 + 0x54]
test ecx, ecx
je 0x4c946e
cmp ecx, edx
jbe 0x4c946e
mov eax, edx
mov edx, dword [ebp + 8]
sub ecx, eax
sub eax, dword [ebp + 0x2c]
sar ecx, 1
lea esi, [ecx + ecx]
sar eax, 1
push esi
lea eax, [edx + eax*2]
push eax
push edi
call fcn.005402a0
xor ecx, ecx
add esp, 0xc
mov word [esi + edi], cx
add edi, esi
movzx esi, word [ebx]
test si, si
jne 0x4c9420
mov edx, dword [esp + 0x18]
push edx
call fcn.004ff267
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x14], ebx
je 0x4c9655
cmp dword [esp + 0x8c], ebx
je 0x4c9655
mov ebp, dword [esp + 0x14]
movzx eax, word [ebp]
add ebp, 2
mov ecx, ebp
test ax, ax
je 0x4c9655
mov edx, 0x5c
cmp dx, ax
jne 0x4c94e9
movzx eax, word [ecx]
xor edx, edx
add ecx, 2
cmp dx, ax
je 0x4c9655
mov edx, 0x55
cmp dx, ax
je 0x4c957f
mov edx, 0x4c
cmp dx, ax
je 0x4c957f
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c94b2
jmp 0x4c9655
cmp ax, 0x5c
jne 0x4c9532
movzx eax, word [esi]
push eax
call fcn.005436eb
add esp, 4
test eax, eax
je 0x4c9520
movzx eax, word [esi]
sub eax, 0x30
add esi, 2
test eax, eax
jge 0x4c93bf
movzx eax, word [esi]
cmp ax, 0x5c
je 0x4c952f
cmp ax, 0x26
jne 0x4c9532
add esi, 2
inc ebp
jmp 0x4c93d9
cmp si, 0x5c
jne 0x4c9574
movzx ecx, word [ebx]
push ecx
call fcn.005436eb
add esp, 4
test eax, eax
je 0x4c955f
movzx eax, word [ebx]
sub eax, 0x30
add ebx, 2
test eax, eax
jge 0x4c942f
movzx eax, word [ebx]
cmp ax, 0x5c
je 0x4c956e
cmp ax, 0x26
jne 0x4c9574
movzx esi, ax
add ebx, 2
mov word [edi], si
add edi, 2
jmp 0x4c946e
mov eax, dword [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c9586
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
xor esi, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
mov edi, eax
mov eax, dword [esp + 0x18]
movzx eax, word [eax]
add esp, 4
mov dword [esp + 0x18], esi
mov ebx, ebp
test ax, ax
je 0x4c963e
mov ebp, esi
jmp 0x4c95d0
mov ecx, 0x5c
cmp cx, ax
jne 0x4c9613
movzx eax, word [ebx]
xor edx, edx
add ebx, 2
cmp dx, ax
je 0x4c963e
mov ecx, 0x55
cmp cx, ax
jne 0x4c95f6
lea ebp, [edx + 1]
jmp 0x4c9633
mov edx, 0x4c
cmp dx, ax
jne 0x4c9605
lea ebp, [edx - 0x4a]
jmp 0x4c9633
mov ecx, 0x45
cmp cx, ax
jne 0x4c962e
xor ebp, ebp
jmp 0x4c9633
cmp ebp, 1
jne 0x4c9620
push eax
call fcn.00421c50
jmp 0x4c962b
cmp ebp, 2
jne 0x4c962e
push eax
call fcn.004097d0
add esp, 4
mov word [edi + esi*2], ax
inc esi
movzx eax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4c95d0
mov eax, dword [esp + 0x14]
xor edx, edx
push eax
mov word [edi + esi*2], dx
call fcn.004ff267
add esp, 4
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0053fa67
add esp, 0x70
ret 8