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

Disassembly:
push 0xffffffffffffffff
push 0x569db3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
mov al, byte [esp + 7]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x38], ecx
mov byte [esp + 0x28], al
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov cl, byte [esp + 0x17]
mov edi, 0x5c65b8
mov byte [esp + 0x40], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x27c], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x44], ebp
push ecx
push 0x5c65b8
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
call fcn.0040a330
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], 1
call fcn.00531800
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x75]
mov byte [esp + 0x74], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 6
push 0x5abd38
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 2
stosb byte es:[edi], al
call fcn.005318a0
push 6
push 0x5abd30
lea ecx, [esp + 0x2c]
mov byte [esp + 0x284], 3
call fcn.005318a0
push 6
push 0x5abd28
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 4
call fcn.005318a0
push ebp
push 1
push ecx
mov byte [esp + 0x288], 5
mov ecx, esp
mov dword [esp + 0x5c], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x28c], 6
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x5abd20
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x28c], 5
call fcn.00533b90
mov ecx, dword [esp + 0x284]
and ecx, 0xff
mov dword [esp + 0x3c], ecx
lea edx, [ecx + ecx*2]
xor ebx, ebx
xor eax, eax
xor esi, esi
lea edi, [ecx + edx*4]
shl edi, 2
mov bl, byte [edi + 0x57b8ba]
mov ax, word [edi + 0x57b8c4]
mov edx, dword [edi + 0x57b8b4]
mov si, word [edi + 0x57b8b0]
cmp eax, ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edx
jbe 0x4c3525
lea edx, [ecx + ecx*2]
push 0xfe
lea ecx, [ecx + edx*4]
lea edx, [eax + ecx*2]
xor eax, eax
lea ecx, [esp + 0x178]
mov ax, word [edx*2 + 0x57b8c4]
push ecx
mov edx, dword [eax*4 + 0x5abc20]
mov eax, dword [esp + 0x40]
push edx
lea ecx, [eax + 0xc]
call fcn.0043c160
push esi
push 5
lea ecx, [esp + 0x20]
call fcn.00531ad0
mov esi, dword [esp + 0x54]
shr esi, 8
mov dword [esp + 0x58], esi
jmp 0x4c3546
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [0x5abc1c], 0xff
call fcn.00531810
mov ecx, dword [0x5c6634]
call fcn.005396d0
mov ecx, dword [0x5c6634]
push 1
call fcn.00535f90
push esi
push 4
lea ecx, [esp + 0x20]
call fcn.00531ad0
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x18]
push eax
push 5
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x28]
mov esi, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00531810
push esi
call fcn.005388b0
mov ecx, dword [0x5c6634]
add esp, 8
call fcn.005398d0
mov esi, 1
cmp ebx, esi
jb 0x4c35ff
mov al, byte [edi + esi + 0x57b8ba]
lea ecx, [esp + 0x24]
push eax
push 5
call fcn.00531ad0
push 1
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00531810
mov ecx, dword [0x5c6634]
call fcn.00539850
inc esi
cmp esi, ebx
jbe 0x4c35c9
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.00404c00
mov dword [esp + 0x30], esi
xor ebx, ebx
cmp ebx, 4
jge 0x4c3623
push 1
jmp 0x4c3645
cmp ebx, 6
jge 0x4c362c
push 2
jmp 0x4c3645
cmp ebx, 0xf
jge 0x4c3635
push 3
jmp 0x4c3645
cmp ebx, 0x12
jge 0x4c363e
push 6
jmp 0x4c3645
cmp ebx, 0x1c
jge 0x4c3650
push 4
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
mov dl, bl
lea ecx, [esp + 0x10]
inc dl
push edx
push 5
call fcn.00531ad0
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push 1
push ecx
lea ecx, [esp + 0x34]
call fcn.00404e90
inc ebx
cmp ebx, 0x1c
jl 0x4c361a
mov esi, dword [esp + 0x2c]
cmp esi, ebp
je 0x4c378e
mov eax, dword [esp + 0x30]
mov edx, eax
sub edx, esi
test edx, 0xfffffffc
je 0x4c378e
cmp esi, eax
je 0x4c378e
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.00531810
lea ecx, [esp + 0x24]
call fcn.005319b0
lea eax, [esp + 0x74]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x40]
push edx
call fcn.004c5410
mov ecx, dword [0x57217c]
mov byte [esp + 0x27c], 7
push ecx
push ebp
push eax
lea ecx, [esp + 0x4c]
call fcn.004049b0
mov eax, dword [esp + 0x64]
mov byte [esp + 0x27c], 5
cmp eax, ebp
je 0x4c3718
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4c370f
cmp al, 0xff
je 0x4c370f
dec al
mov byte [ecx], al
jmp 0x4c3718
push ecx
call fcn.00556360
add esp, 4
mov dl, byte [esp + 0x40]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov byte [ecx], dl
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
mov eax, dword [0x57217c]
lea edx, [esp + 0x50]
push eax
push ebp
push edx
mov dword [esp + 0x88], ebp
call fcn.004049b0
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
mov byte [esp + 0x294], 8
call fcn.00531810
mov ecx, dword [0x5c6634]
mov byte [esp + 0x290], 5
call fcn.00539a20
mov eax, dword [esp + 0x30]
add esi, 4
cmp esi, eax
jne 0x4c36a3
mov ecx, dword [0x5c6634]
call fcn.00539bf0
mov si, ax
inc esi
cmp si, bp
je 0x4c353e
cmp word [edi + 0x57b8c4], bp
je 0x4c37f5
mov eax, dword [esp + 0x3c]
push 0xfe
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
movsx eax, si
lea ecx, [eax + edx*2]
lea eax, [esp + 0x178]
push eax
mov eax, dword [esp + 0x40]
mov dl, byte [ecx*2 + 0x57b8c4]
mov byte [esp + 0x58], dl
mov ecx, dword [esp + 0x58]
and ecx, 0xff
mov edx, dword [ecx*4 + 0x5abc20]
lea ecx, [eax + 0xc]
push edx
call fcn.0043c160
movzx cx, byte [edi + 0x57b8ba]
cmp si, cx
jne 0x4c353e
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], 4
call fcn.00531940
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], 3
call fcn.00531940
lea ecx, [esp + 0x18]
mov byte [esp + 0x27c], 2
call fcn.00531940
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], 1
call fcn.00531940
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x4c386f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4c3866
cmp al, 0xff
je 0x4c3866
dec al
mov byte [ecx], al
jmp 0x4c386f
push ecx
call fcn.00556360
add esp, 4
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp esi, eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x27c], 0xffffffff
mov edi, eax
je 0x4c38a6
mov ecx, esi
call fcn.00531940
add esi, 4
cmp esi, edi
jne 0x4c3894
mov esi, dword [esp + 0x2c]
push esi
call fcn.00556360
mov ecx, dword [esp + 0x278]
add esp, 4
mov ax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x270
ret 4