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

Disassembly:
sub esp, 0xfc
mov eax, dword [esp + 0x100]
mov eax, dword [eax]
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x1c], eax
shr eax, 0xb
and eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
shr eax, 9
and eax, 1
mov dword [esp + 0xb8], eax
xor eax, 1
push ebx
mov ebx, dword [ecx]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0xc0], eax
mov eax, 0xfffffffe
push ebp
mov ebp, dword [esp + 0x124]
xor edx, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
push esi
push edi
mov edi, dword [ecx]
xor esi, esi
xor ecx, ecx
and eax, 1
shl eax, 8
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0xc0], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0xb8], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x10], edi
movzx eax, byte [edi]
mov dword [esp + 0x20], eax
cmp eax, edx
jne 0x4751a6
cmp dword [esp + 0x68], edx
je 0x4751a6
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], edi
movzx eax, byte [edi]
mov dword [esp + 0x68], edx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x130], edx
je 0x47526c
mov ecx, dword [ebp + 0x10]
add ecx, 0xf9c
cmp ebx, ecx
ja 0x4786bb
mov eax, dword [esp + 0xa0]
cmp ebx, eax
jae 0x4751d5
mov dword [esp + 0x14], eax
mov ebx, eax
mov edx, dword [esp + 0x130]
mov eax, dword [edx]
mov ecx, ebx
sub ecx, dword [esp + 0xa0]
mov edx, 0x7fffffeb
sub edx, eax
cmp edx, ecx
jl 0x4786de
sub eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x130]
add eax, ebx
xor edx, edx
mov dword [ecx], eax
cmp esi, edx
je 0x475252
cmp esi, dword [esp + 0xb0]
jbe 0x47525f
mov edi, dword [esp + 0xb0]
mov edx, ebx
sub edx, esi
push edx
push esi
push edi
call fcn.00487350
mov ecx, dword [esp + 0x78]
mov eax, edi
sub eax, esi
add ebx, eax
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x14], ebx
xor edx, edx
mov dword [esp + 0xa0], ebx
jmp 0x47527d
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x14], ecx
mov ebx, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xa0], ebx
jmp 0x47527d
mov eax, dword [ebp + 0x10]
add eax, 0xf9c
cmp dword [ebp + 0x24], eax
ja 0x478701
cmp dword [esp + 0x5c], edx
je 0x47540c
cmp dword [esp + 0x20], edx
je 0x47540c
cmp dword [esp + 0x20], 0x5c
jne 0x4752af
cmp byte [edi + 1], 0x45
jne 0x4752af
mov ecx, dword [esp + 0x6c]
inc edi
mov dword [esp + 0x5c], edx
inc edi
xor edx, edx
jmp 0x47517e
cmp ecx, edx
je 0x4752e5
cmp dword [esp + 0x130], edx
jne 0x4752e1
movzx edx, byte [ecx + 6]
movzx eax, byte [ecx + 7]
shl edx, 8
or edx, eax
mov eax, edi
sub eax, edx
sub eax, dword [ebp + 0x18]
mov edx, eax
sar edx, 8
mov byte [ecx + 8], dl
mov byte [ecx + 9], al
mov edi, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x6c], edx
test dword [esp + 0x2c], 0x4000
je case.default.0x47556c
mov byte [ebx], 0x53
mov byte [ebx + 1], 0xff
mov dword [ebx + 2], edx
mov eax, edi
mov ecx, eax
sub ecx, dword [ebp + 0x18]
mov dword [esp + 0x6c], ebx
sar ecx, 8
mov byte [ebx + 6], cl
sub al, byte [ebp + 0x18]
mov word [ebx + 8], 0
mov byte [ebx + 7], al
mov edi, dword [esp + 0x10]
add ebx, 0xa
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x20]
mov ebp, 1
mov byte [esp + 0xa8], al
je 0x475368
cmp eax, 0xc0
jl 0x475368
mov cl, byte [edi + 1]
inc edi
and cl, 0xc0
cmp cl, 0x80
jne 0x475368
jmp 0x475350
mov dword [esp + 0x10], edi
mov dl, byte [edi]
mov al, byte [edi + 1]
inc edi
mov byte [esp + ebp + 0xa8], dl
and al, 0xc0
inc ebp
cmp al, 0x80
je 0x475350
mov cl, byte [esp + 0x2c]
and cl, 1
or cl, 0x1c
mov dword [esp + 0x18], ebx
mov byte [ebx], cl
inc ebx
mov dword [esp + 0x14], ebx
test ebp, ebp
jle 0x475399
push ebp
lea edx, [esp + 0xac]
push edx
push ebx
call fcn.0048ebd0
add esp, 0xc
add ebx, ebp
mov dword [esp + 0x14], ebx
mov cl, byte [esp + 0xa8]
cmp cl, 0xd
je 0x4753aa
cmp cl, 0xa
jne 0x4753b5
mov eax, dword [esp + 0x12c]
or dword [eax + 0x48], 0x20
mov eax, dword [esp + 0x38]
cmp eax, 0xfffffffe
jne 0x47865c
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x40], eax
cmp ebp, 1
je 0x478620
cmp dword [esp + 0x74], 0
je 0x478620
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x12c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
or eax, 0xffffffff
inc edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], eax
xor edx, edx
jmp 0x47517e
mov eax, dword [esp + 0x20]
cmp eax, 0x2a
je 0x475489
cmp eax, 0x2b
je 0x475489
cmp eax, 0x3f
je 0x475489
cmp eax, 0x7b
jne 0x475430
lea eax, [edi + 1]
call fcn.00472c10
test eax, eax
jne 0x475489
mov ecx, dword [esp + 0x6c]
xor edx, edx
mov dword [esp + 0x24], edx
cmp ecx, edx
je 0x475493
mov eax, dword [esp + 0xc0]
mov edx, eax
dec eax
mov dword [esp + 0xc0], eax
test edx, edx
jg 0x475491
xor edx, edx
cmp dword [esp + 0x130], edx
jne 0x475483
movzx edx, byte [ecx + 6]
movzx eax, byte [ecx + 7]
shl edx, 8
or edx, eax
mov eax, edi
sub eax, edx
sub eax, dword [ebp + 0x18]
mov edx, eax
sar edx, 8
mov byte [ecx + 8], dl
mov byte [ecx + 9], al
mov edi, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x6c], edx
jmp 0x475493
mov dword [esp + 0x24], 1
xor edx, edx
test byte [esp + 0x2c], 8
je 0x475516
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
test byte [ecx + eax], 1
jne 0x476528
cmp ecx, 0x23
jne 0x475514
inc edi
mov dword [esp + 0x10], edi
mov al, byte [edi]
test al, al
je 0x47550c
jmp 0x4754c0
mov ecx, dword [ebp + 0x58]
test ecx, ecx
je 0x475573
mov eax, dword [ebp + 0x1c]
cmp edi, eax
jae 0x47559d
mov ebx, dword [esp + 0x34]
lea edx, [ebp + 0x5c]
push edx
push eax
push ecx
call fcn.00486040
mov esi, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x475599
mov ecx, dword [ebp + 0x5c]
mov ebx, dword [esp + 0x14]
lea edi, [edi + ecx - 1]
mov dword [esp + 0x10], edi
cmp byte [edi], 0
jne 0x476528
mov dword [esp + 0x20], 0
xor edx, edx
test dword [esp + 0x2c], 0x4000
je 0x475558
cmp dword [esp + 0x24], edx
jne 0x475558
mov byte [ebx], 0x53
mov byte [ebx + 1], 0xff
mov dword [ebx + 2], edx
mov eax, edi
mov ecx, eax
sub ecx, dword [ebp + 0x18]
mov dword [esp + 0x6c], ebx
sar ecx, 8
mov byte [ebx + 6], cl
sub al, byte [ebp + 0x18]
mov word [ebx + 8], 0
mov byte [ebx + 7], al
mov edi, dword [esp + 0x10]
add ebx, 0xa
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x20]
cmp eax, 0x7c
ja case.default.0x47556c
movzx eax, byte [eax + 0x478048]
jmp dword [eax*4 + 0x478014]
mov ecx, dword [ebp + 0x5c]
mov edx, dword [ebp + 0x1c]
sub edx, ecx
cmp edi, edx
ja 0x47559d
cmp al, byte [ebp + 0x60]
jne 0x47559d
cmp ecx, 1
je 0x4754f4
mov al, byte [edi + 1]
cmp al, byte [ebp + 0x61]
je 0x4754f4
mov ebx, dword [esp + 0x14]
inc edi
mov dword [esp + 0x10], edi
mov al, byte [edi]
test al, al
jne 0x4754c0
jmp 0x47550c
mov ebp, dword [esp + 0x12c]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
inc edi
xor edx, edx
jmp 0x47517e
insb byte es:[edi], dx
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x18]
inc edi
xor edx, edx
jmp 0x47517e
movzx eax, cl
or eax, dword [esp + 0x74]
mov dword [esp + 0x38], eax
cmp ebp, 1
je 0x476519
movzx eax, byte [ebx - 1]
mov ecx, dword [esp + 0x12c]
or eax, dword [ecx + 0x4c]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov ebp, ecx
mov ecx, dword [esp + 0x6c]
inc edi
mov dword [esp + 0x50], eax
xor edx, edx
jmp 0x47517e
mov edx, dword [esp + 0x50]
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], edx
cmp ebp, 1
je 0x478678
cmp dword [esp + 0x74], 0
jne 0x476519
movzx eax, byte [ebx - 1]
mov ecx, dword [esp + 0x12c]
or eax, dword [ecx + 0x4c]
mov edi, dword [esp + 0x10]
or eax, dword [esp + 0x74]
mov esi, dword [esp + 0x18]
mov ebp, ecx
mov ecx, dword [esp + 0x6c]
inc edi
mov dword [esp + 0x50], eax
xor edx, edx
jmp 0x47517e
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov dword [edx], 0x34
xor eax, eax
pop ebx
add esp, 0xfc
ret
mov eax, dword [esp + 0x11c]
mov dword [eax], 0x14
mov eax, dword [esp + 0x118]
mov dword [eax], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xfc
ret
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x11c]
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov dword [ecx], 0x34
xor eax, eax
pop ebx
add esp, 0xfc
ret