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

Disassembly:
push 0xffffffffffffffff
push 0x542398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0xc8]
mov dword [esp + 0x14], ebp
cmp eax, ebx
jne 0x4c82e4
mov dword [esp + 0x10], ebx
jmp 0x4c82ee
mov eax, dword [ebp + 0xc0]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jle 0x4c8513
mov eax, dword [ebp + 0x64]
shr eax, 2
cmp eax, ebx
jle 0x4c8513
mov ecx, dword [ebp + 0x64]
lea edi, [ebp + 0x54]
cmp ecx, ebx
mov dword [esp + 0x44], edi
jne 0x4c831a
xor ecx, ecx
jmp 0x4c831d
mov ecx, dword [edi + 8]
push edx
push eax
push ecx
call fcn.00408950
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x4c8337
mov esi, dword [ebp + 0x64]
shr esi, 2
jmp 0x4c833b
cmp esi, ebx
jle 0x4c833c
dec esi
cmp dword [edi + 0x10], ebx
je 0x4c8344
mov ebx, dword [edi + 8]
test esi, esi
jle 0x4c836c
lea edi, [ebx + esi*4]
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
add ecx, eax
push ecx
mov ecx, ebp
call fcn.004ca8d0
cmp eax, 1
je 0x4c8368
dec esi
sub edi, 4
test esi, esi
jg 0x4c834b
mov edi, dword [esp + 0x44]
lea eax, [esi*4]
mov ecx, edi
push eax
mov edx, dword [eax + ebx]
mov dword [esp + 0x48], edx
call fcn.00470c20
lea ecx, [esp + 0x20]
call fcn.00470b30
mov dword [esp + 0x3c], 0
mov ebp, 1
cmp ebp, 1
jne 0x4c83a6
mov eax, dword [esp + 0x14]
lea esi, [eax + 0x7c]
jmp 0x4c83c1
cmp ebp, 2
jne 0x4c83b7
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 0x90]
jmp 0x4c83c1
mov edx, dword [esp + 0x14]
lea esi, [edx + 0xa4]
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x20]
push eax
call fcn.00470fa0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4c83d9
xor edi, edi
jmp 0x4c83dc
mov edi, dword [esi + 8]
shr eax, 2
test eax, eax
jle 0x4c83ff
mov ebx, eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jge 0x4c83f9
push eax
lea ecx, [esp + 0x24]
call fcn.00470df0
add edi, 4
dec ebx
jne 0x4c83e5
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, esi
and eax, ebx
mov dword [esi + 0x10], 0
push eax
call fcn.004713f0
inc ebp
cmp ebp, 3
jle 0x4c8398
mov esi, dword [esi + 0x10]
lea ecx, [esp + 0x20]
push esi
call fcn.00470fa0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x78]
lea edi, [eax + 0x68]
test ecx, ecx
mov dword [esp + 0x1c], edi
jne 0x4c844c
xor esi, esi
jmp 0x4c844f
mov esi, dword [edi + 8]
mov ecx, dword [eax + 0x78]
mov eax, 0x38e38e39
mul ecx
shr edx, 1
test edx, edx
jle 0x4c84aa
mov dword [esp + 0x18], edx
mov edi, dword [esi + 1]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esi + 5]
cmp edi, ebp
jge 0x4c8498
mov al, byte [esi]
lea ecx, [esp + 0x20]
push eax
call fcn.00470e70
push edi
lea ecx, [esp + 0x24]
call fcn.00470df0
cmp ebx, ebp
jl 0x4c848e
or ebx, 0xffffffff
push ebx
lea ecx, [esp + 0x24]
call fcn.00470df0
mov eax, dword [esp + 0x18]
add esi, 9
dec eax
mov dword [esp + 0x18], eax
jne 0x4c8463
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x4c84d4
mov eax, 0x38e38e39
push 0x4a5d20
mul ecx
mov ecx, dword [esp + 0x2c]
push 9
shr edx, 1
push edx
push ecx
call fcn.00500a1e
mov ecx, dword [esp + 0x40]
add esp, 0x10
mov esi, dword [esp + 0x28]
mov eax, ecx
neg eax
sbb eax, eax
push ecx
and eax, esi
mov ecx, edi
push eax
mov dword [edi + 0x10], 0
call fcn.004713f0
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x20], 0x5477b0
call fcn.00470d30
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
jmp 0x4c8547
lea ecx, [ebp + 0x54]
call fcn.00470d30
lea esi, [ebp + 0x68]
mov ecx, esi
call fcn.00470d30
lea ecx, [ebp + 0x7c]
call fcn.00470d30
lea ecx, [ebp + 0x90]
call fcn.00470d30
lea ecx, [ebp + 0xa4]
call fcn.00470d30
mov dword [esp + 0x44], ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov ebx, dword [ebp + 0xc8]
mov ecx, edx
lea edi, [edx + eax]
add ebx, ecx
cmp edi, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
jae 0x4c862d
mov al, byte [edi]
mov byte [esp + 0x44], al
mov ecx, dword [esp + 0x44]
and ecx, 0xff
add ecx, 0xffffff95
cmp ecx, 9
ja case.0x4c8590.109
xor edx, edx
mov dl, byte [ecx + 0x4c86a4]
jmp dword [edx*4 + 0x4c8698]
cmp al, 0x70
jne 0x4c85a2
mov eax, 3
jmp 0x4c85b7
cmp al, 0x6c
jne 0x4c85ad
mov eax, 2
jmp 0x4c85b7
sub al, 0x6b
neg al
sbb eax, eax
and eax, 3
inc eax
push eax
mov ecx, esi
call fcn.00470e70
mov edx, dword [esp + 0x10]
mov eax, edi
sub eax, edx
mov ecx, esi
push eax
call fcn.00470df0
push 0xffffffffffffffff
mov ecx, esi
call fcn.00470df0
jmp case.0x4c8590.109
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4c85e5
xor ecx, ecx
jmp 0x4c85e8
mov ecx, dword [esi + 8]
mov eax, 0x38e38e39
mul dword [ebp + 0x78]
shr edx, 1
dec edx
js case.0x4c8590.109
lea ecx, [ecx + edx*8]
lea eax, [edx + ecx + 5]
cmp dword [eax], 0xffffffff
je 0x4c860b
dec edx
sub eax, 9
test edx, edx
jge 0x4c85fc
jmp case.0x4c8590.109
mov ecx, dword [esp + 0x10]
mov edx, edi
sub edx, ecx
mov dword [eax], edx
push 1
push edi
mov ecx, ebp
call fcn.004c7fd0
add edi, eax
cmp edi, ebx
jb 0x4c856c
mov edi, dword [esp + 0x1c]
mov esi, edi
cmp esi, ebx
jae 0x4c8682
mov bl, byte [esi]
inc esi
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x44]
push eax
call fcn.004ca130
add esp, 4
cmp eax, 1
jne 0x4c867c
mov ecx, esi
mov edi, esi
call fcn.004c7bc0
add esi, eax
cmp bl, 0x6a
jne 0x4c867c
mov ecx, edi
call fcn.004c7d90
test eax, eax
je 0x4c867c
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi]
mov eax, esi
sub eax, ebx
add ecx, eax
push ecx
push eax
mov ecx, ebp
call fcn.004c86b0
cmp esi, dword [esp + 0x18]
jb 0x4c8633
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4