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

Disassembly:
sub esp, 0x7c
mov eax, dword [esp + 0x8c]
push esi
xor esi, esi
cmp eax, esi
push edi
mov byte [esp + 0xa], 0
mov dword [esp + 0x58], esi
mov dword [esp + 0x28], esi
je 0x4772be
push eax
call fcn.00421380
add esp, 4
mov dword [esp + 0x50], eax
jmp 0x4772c2
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov dword [eax], esi
mov byte [ecx], 0
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
cmp byte [eax + 0x6f], 0x21
sete byte [esp + 0x1b]
or eax, 0xffffffff
mov edx, 0x7fffffff
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], esi
mov ecx, dword [ecx + 0x64]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x68]
mov dword [esp + 0x2c], ecx
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], 0x20000000
call fcn.00485650
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dl, byte [eax + ecx]
inc eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x12], dl
mov dl, byte [eax + ecx]
mov byte [esp + 0x13], dl
mov edx, dword [esp + 0xa0]
inc eax
cmp edx, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], esi
je 0x47736c
mov dword [edx], esi
mov cl, byte [eax + ecx]
push ebx
mov bl, cl
inc eax
test bl, bl
mov dword [esp + 0x34], eax
mov byte [esp + 0xf], bl
je 0x477a22
push ebp
push 0x3c
call fcn.0052b380
mov esi, eax
xor ebp, ebp
add esp, 4
cmp esi, ebp
je 0x477a21
cmp dword [esp + 0x60], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
jne 0x4773cc
mov ecx, dword [esp + 0xa8]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x60], esi
je 0x4773db
mov dword [ecx], esi
jmp 0x4773db
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], esi
mov dword [eax + 0x38], esi
mov cl, bl
and cl, 8
mov byte [esp + 0x22], cl
je 0x4774f9
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add eax, ecx
add ecx, 2
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov eax, ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.004848b0
mov edi, eax
cmp edi, ebp
je 0x477a21
mov dword [esi + 0x34], edi
mov al, byte [edi + 0x6f]
cmp al, 0xa
jne 0x477472
mov ebx, dword [edi]
cmp ebx, ebp
je 0x477472
movzx ebp, byte [ebx]
mov al, byte [ebx + ebp + 1]
inc ebp
mov dl, al
shr al, 5
and al, 1
and dl, 1
mov byte [esi + 1], al
mov eax, dword [esp + 0x28]
mov byte [esi], dl
mov eax, dword [eax + 0x1ac]
inc ebp
test eax, eax
jne 0x477457
mov ecx, dword [esp + 0x28]
call fcn.00486cc0
cmp eax, 5
jle 0x477464
cmp word [edi + 0x2c], 0x3e
jne 0x477464
inc ebp
add ebp, ebx
mov bl, byte [esp + 0x13]
mov dword [esi + 0xc], ebp
jmp 0x47752f
cmp al, 0x30
je 0x47747e
cmp al, 0x4b
jne 0x477a21
mov eax, dword [edi + 0xc]
mov al, byte [eax]
mov byte [esi + 0x2c], al
movzx eax, word [edi + 0x2e]
mov dl, byte [edi + 0x30]
shl eax, 1
and dl, 8
je 0x477496
add eax, eax
test dl, dl
mov ecx, dword [edi + 0x64]
je 0x4774bf
movzx ebx, byte [eax + ecx + 1]
xor edx, edx
mov dh, byte [eax + ecx + 3]
lea ebp, [eax + 4]
mov dl, byte [eax + ecx + 2]
movzx eax, byte [eax + ecx]
shl edx, 8
or edx, ebx
shl edx, 8
or eax, edx
jmp 0x4774cd
xor edx, edx
mov dh, byte [eax + ecx + 1]
lea ebp, [eax + 2]
mov dl, byte [eax + ecx]
mov eax, edx
mov bl, byte [esp + 0x13]
add eax, ecx
lea edx, [ecx + ebp]
mov dword [esi + 0xc], eax
sub eax, edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
mov al, byte [edi + 0x30]
shr al, 2
and al, 1
mov byte [esi], al
mov cl, byte [edi + 0x30]
shr cl, 6
and cl, 1
mov byte [esi + 1], cl
jmp 0x47752f
cmp eax, ebp
je 0x477a21
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov cl, byte [eax]
mov byte [esi], cl
mov dl, byte [eax + 1]
mov byte [esi + 1], dl
mov cl, byte [eax + 0x2c]
mov byte [esi + 0x2c], cl
mov edx, dword [eax + 0x34]
mov dword [esi + 0x34], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [eax + 0x30]
mov dword [esi + 0x30], eax
test bl, 4
je 0x477553
movzx ecx, byte [esp + 0x23]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x3c]
call fcn.00484270
mov eax, dword [eax]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x30], eax
jmp 0x477561
mov edx, dword [esp + 0x24]
test edx, edx
je 0x477561
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x30], ecx
test bl, 1
je 0x477584
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add eax, ecx
add ecx, 2
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [esi + 4], cx
jmp 0x47758e
mov eax, edx
neg eax
sbb eax, eax
mov word [esi + 4], ax
test bl, 2
je 0x4775b1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add eax, ecx
add ecx, 2
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [esi + 2], cx
jmp 0x4775c5
test edx, edx
je 0x4775bf
mov ax, word [edx + 2]
mov word [esi + 2], ax
jmp 0x4775c5
mov word [esi + 2], 0
mov al, byte [esp + 0x22]
test al, al
je 0x4775eb
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add eax, ecx
add ecx, 2
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [esi + 6], cx
jmp 0x4775ff
test edx, edx
je 0x4775f9
mov ax, word [edx + 6]
mov word [esi + 6], ax
jmp 0x4775ff
mov word [esi + 6], 0
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x47763e
test edx, edx
je 0x47763e
movsx ecx, word [edx + 2]
movzx edx, word [esi + 6]
movsx eax, word [esi + 2]
add ecx, edx
cmp eax, ecx
jle 0x47763e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xa4]
add eax, ecx
mov byte [esi + 8], 1
mov dword [esp + 0x1c], eax
mov byte [edx], 1
jmp 0x477642
mov byte [esi + 8], 0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov al, byte [ecx + eax]
inc ecx
mov dword [esp + 0x38], ecx
mov byte [esi + 0x18], al
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
add edx, ecx
movzx ecx, al
mov al, byte [esi + 1]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x1c]
add edx, ecx
test al, al
mov dword [esp + 0x1c], edx
je 0x477687
mov edx, dword [esp + 0x14]
lea eax, [ecx + ecx]
cmp edx, eax
ja 0x477696
mov dword [esp + 0x14], eax
jmp 0x477696
cmp byte [esi], 0
jne 0x477696
cmp dword [esp + 0x14], ecx
ja 0x477696
mov dword [esp + 0x14], ecx
movzx edx, byte [esp + 0x1a]
movzx eax, byte [esp + 0x1b]
add eax, edx
imul ecx, eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
and ecx, 0x80000007
jns 0x4776bd
dec ecx
or ecx, 0xfffffff8
inc ecx
je 0x4776c0
inc eax
mov ecx, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
mov al, byte [ecx + eax]
mov bl, al
inc ecx
test bl, bl
mov dword [esp + 0x38], ecx
mov byte [esp + 0x13], bl
jne 0x477384
mov eax, dword [esp + 0x14]
test eax, eax
je 0x477702
inc eax
push eax
call fcn.0052b380
add esp, 4
test eax, eax
mov dword [esp + 0x30], eax
je 0x477a21
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x477a21
lea eax, [eax + eax + 2]
push eax
call fcn.0052b380
mov ecx, dword [esp + 0xa4]
add esp, 4
test eax, eax
mov dword [ecx], eax
je 0x477a21
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
mov ebp, eax
mov dword [esp + 0x14], 0
jb 0x47774f
lea ecx, [edx - 1]
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x98]
cmp eax, edx
jb 0x477764
lea eax, [edx - 1]
mov dword [esp + 0x98], eax
cmp eax, ecx
jae 0x477771
mov eax, ecx
mov dword [esp + 0x98], eax
mov edi, dword [esp + 0x60]
sub eax, ecx
inc eax
test edi, edi
mov dword [esp + 0x2c], eax
je 0x4779f9
movzx edx, byte [esp + 0x1a]
movzx eax, byte [esp + 0x1b]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax + 2]
push eax
call fcn.0052b380
movzx ecx, byte [edi + 0x18]
shl ecx, 1
push ecx
mov dword [edi + 0x20], eax
mov dword [esp + 0x30], eax
call fcn.0052b380
movzx edx, byte [edi + 0x18]
mov esi, eax
shl edx, 1
push edx
mov dword [edi + 0x24], esi
mov dword [esp + 0x30], esi
call fcn.0052b380
mov dword [esp + 0x68], eax
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0xa8]
add esp, 0xc
test eax, eax
je 0x477810
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x94]
jbe 0x477810
cmp ecx, dword [esp + 0x98]
ja 0x477810
mov cl, byte [edi + 8]
test cl, cl
je 0x477810
push eax
push ebp
call fcn.004b81c0
mov eax, dword [esp + 0x60]
add esp, 8
lea ebp, [ebp + eax*2]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], 0
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0x7fffffff
mov dword [esp + 0x48], 0x20000000
call fcn.004844d0
movzx eax, byte [edi + 0x18]
dec eax
mov ebx, dword [esp + 0x30]
js 0x477926
mov ecx, dword [esp + 0x5c]
sub ecx, esi
inc eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], eax
mov edi, edi
mov edx, dword [esp + 0x6c]
push edx
lea ecx, [esp + 0x38]
call fcn.00484510
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
mov word [ecx + edx], ax
movzx esi, ax
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x38]
call fcn.004845a0
mov ecx, dword [esp + 0x24]
mov word [ecx], ax
mov eax, dword [esp + 0x14]
add ecx, 2
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x94]
cmp eax, ecx
jb 0x47790e
mov edx, dword [esp + 0x98]
cmp eax, edx
ja 0x47790e
mov dl, byte [edi]
test dl, dl
lea ecx, [esi + esi]
jne 0x4778be
mov ecx, esi
cmp byte [edi + 1], 0
mov eax, dword [edi + 0xc]
je 0x4778de
xor edx, edx
mov dh, byte [ecx + eax + 1]
mov dl, byte [ecx + eax]
mov eax, edx
test ah, 0xff
je 0x4778da
mov byte [ebx], ah
inc ebx
mov byte [ebx], al
jmp 0x47790d
test dl, dl
je 0x477908
xor edx, edx
mov dh, byte [ecx + eax + 1]
movzx cx, byte [ecx + eax]
mov eax, edx
or eax, ecx
mov ecx, dword [esp + 0x28]
mov word [ebp], ax
mov word [ecx], ax
add ecx, 2
mov dword [esp + 0x28], ecx
add ebp, 2
jmp 0x47790e
mov dl, byte [ecx + eax]
mov byte [ebx], dl
inc ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
inc ecx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x5c], eax
jne 0x477860
lea ecx, [esp + 0x34]
call fcn.004844e0
cmp ebx, dword [esp + 0x30]
jbe 0x4779a3
mov al, byte [edi + 1]
test al, al
jne 0x477941
cmp byte [edi], 0
jne 0x4779a3
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x30]
mov byte [ebx], 0
mov esi, dword [ecx]
mov eax, ebp
sub eax, esi
mov esi, dword [esp + 0x1c]
sar eax, 1
sub esi, eax
mov al, byte [edi + 1]
inc esi
push esi
neg al
push ebp
push 0xffffffffffffffff
push edx
push 0
sbb eax, eax
and eax, 0x3a4
push eax
call dword [0x53d2b0]
test eax, eax
jbe 0x477980
lea ebp, [ebp + eax*2 - 2]
mov dl, byte [edi + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
push esi
neg dl
push eax
push 0xffffffffffffffff
push ecx
push 0
sbb edx, edx
and edx, 0x3a4
push edx
call dword [0x53d2b0]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
ja 0x4779bf
mov edi, dword [edi + 0x38]
test edi, edi
jne 0x477796
jmp 0x4779f9
inc eax
cmp ecx, eax
jne 0x4779f9
mov edi, dword [edi + 0x38]
test edi, edi
je 0x4779f9
mov al, byte [edi + 8]
test al, al
je 0x4779f9
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x4779f9
push eax
push ebp
call fcn.004b81c0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
add esp, 8
add ecx, eax
lea ebp, [ebp + eax*2]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x2c]
mov word [ebp], 0
mov ecx, dword [eax]
lea eax, [ecx + edx*2 + 2]
add ebp, 2
cmp ebp, eax
mov byte [esp + 0x12], 1
je 0x477a21
mov byte [esp + 0x12], 0
pop ebp
mov eax, dword [esp + 0xa4]
test eax, eax
pop ebx
jne 0x477a63
mov edi, dword [esp + 0x58]
test edi, edi
je 0x477a63
mov esi, edi
mov ecx, dword [esi + 0x20]
mov edi, dword [edi + 0x38]
push ecx
call fcn.00439d00
mov edx, dword [esi + 0x24]
push edx
call fcn.00439d00
mov eax, dword [esi + 0x28]
push eax
call fcn.00439d00
push esi
call fcn.00439d00
add esp, 0x10
test edi, edi
jne 0x477a36
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00439d00
mov al, byte [esp + 0xe]
add esp, 4
test al, al
pop edi
pop esi
je 0x477a80
mov al, 1
add esp, 0x7c
ret
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
push eax
call fcn.00439d00
add esp, 4
xor al, al
add esp, 0x7c
ret