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

Disassembly:
push 0xffffffffffffffff
push 0x459251
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x473564]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473564]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x78]
push eax
mov edi, 0x45fe3c
lea esi, [esp + 0x28]
mov dword [esp + 0x70], 1
call fcn.004c8720
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 2
call fcn.004c7610
cmp dword [esp + 0x3c], 0x10
jb 0x4c9202
mov ecx, dword [esp + 0x28]
push ecx
call 0x4fc50c
add esp, 4
mov eax, 0xf
lea edi, [ebp + 4]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], esi
mov byte [edi], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], esi
mov byte [esp + 0x44], 0
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x80]
push edx
mov ecx, ebp
mov byte [esp + 0x78], 3
call fcn.004c7610
mov eax, dword [esp + 0x8c]
test eax, eax
jbe 0x4c92d0
cmp eax, esi
ja 0x4c9257
call 0x4fb817
cmp dword [esp + 0x90], 0x10
jb 0x4c926b
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
jmp 0x4c9273
lea ecx, [esp + 0x7c]
mov dword [esp + 0x14], ecx
cmp dword [ebp + 0x14], esi
ja 0x4c927d
call 0x4fb817
cmp dword [ebp + 0x18], 0x10
jb 0x4c9287
mov eax, dword [edi]
jmp 0x4c9289
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dl, bh
xor dl, byte [ecx + esi]
mov byte [eax + esi], dl
cmp dword [ebp + 0x14], esi
ja 0x4c929f
call 0x4fb817
cmp dword [ebp + 0x18], 0x10
jb 0x4c92a9
mov eax, dword [edi]
jmp 0x4c92ab
mov eax, edi
movzx dx, byte [eax + esi]
add dx, bx
imul dx, dx, 0x3193
mov ax, 0x58bf
sub ax, dx
movzx ebx, ax
mov eax, dword [esp + 0x8c]
add esi, 1
cmp eax, esi
ja 0x4c9257
push 0xffffffffffffffff
push 0
push ebp
lea ecx, [esp + 0x84]
call fcn.004c7610
mov ecx, dword [ebp + 0x18]
cmp ecx, 0x10
jb 0x4c92ed
mov eax, dword [edi]
jmp 0x4c92ef
mov eax, edi
mov edx, dword [ebp + 0x14]
lea ebx, [edx + eax]
test ebx, ebx
je 0x4c9319
cmp ecx, 0x10
jb 0x4c9302
mov eax, dword [edi]
jmp 0x4c9304
mov eax, edi
cmp eax, ebx
ja 0x4c9319
cmp ecx, 0x10
jb 0x4c9311
mov eax, dword [edi]
jmp 0x4c9313
mov eax, edi
add edx, eax
cmp ebx, edx
jbe 0x4c931e
call 0x4fc79f
mov ecx, dword [ebp + 0x18]
cmp ecx, 0x10
jb 0x4c932a
mov esi, dword [edi]
jmp 0x4c932c
mov esi, edi
test esi, esi
je 0x4c934f
cmp ecx, 0x10
jb 0x4c9339
mov eax, dword [edi]
jmp 0x4c933b
mov eax, edi
cmp eax, esi
ja 0x4c934f
cmp ecx, 0x10
jb 0x4c9346
mov edi, dword [edi]
mov ecx, dword [ebp + 0x14]
add ecx, edi
cmp esi, ecx
jbe 0x4c9354
call 0x4fc79f
push ebx
push ebp
push esi
push ebp
lea edx, [esp + 0x24]
push edx
mov eax, ebp
call fcn.004cad40
mov eax, dword [esp + 0x8c]
xor edi, edi
test eax, eax
jbe 0x4c9422
cmp eax, edi
ja 0x4c937e
call 0x4fb817
cmp dword [esp + 0x90], 0x10
mov eax, dword [esp + 0x7c]
jae 0x4c9390
lea eax, [esp + 0x7c]
movzx ebx, byte [eax + edi]
push 2
push 0x45fe40
lea ecx, [esp + 0x48]
call fcn.004c7a00
cmp dword [esp + 0x54], 0
ja 0x4c93b0
call 0x4fb817
cmp dword [esp + 0x58], 0x10
mov esi, dword [esp + 0x44]
jae 0x4c93bf
lea esi, [esp + 0x44]
mov eax, 0x4ec4ec4f
mul ebx
shr edx, 3
mov al, dl
add al, 0x41
mov byte [esi], al
cmp dword [esp + 0x54], 1
mov dword [esp + 0x14], edx
ja 0x4c93e3
call 0x4fb817
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x58], 0x10
mov esi, dword [esp + 0x44]
jae 0x4c93f2
lea esi, [esp + 0x44]
mov al, dl
mov cl, 0x1a
imul cl
sub bl, al
push 0xffffffffffffffff
add bl, 0x41
push 0
lea edx, [esp + 0x48]
mov byte [esi + 1], bl
push edx
mov esi, ebp
call fcn.004c7910
mov eax, dword [esp + 0x8c]
add edi, 1
cmp eax, edi
ja 0x4c937e
mov esi, 0x10
cmp dword [esp + 0x58], esi
jb 0x4c943a
mov eax, dword [esp + 0x44]
push eax
call 0x4fc50c
add esp, 4
cmp dword [esp + 0x90], esi
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x4c9465
mov ecx, dword [esp + 0x7c]
push ecx
call 0x4fc50c
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call 0x4fc666
add esp, 0x5c
ret