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

Disassembly:
push 0xffffffffffffffff
push 0x5473bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [0x58fac8]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x18], ecx
jne 0x4b683d
mov ecx, 0x599ae0
call fcn.004636a0
test eax, eax
je 0x4b6dc1
mov eax, dword [eax + 0x68]
mov esi, dword [0x599f2c]
mov dword [esp + 0x30], eax
mov eax, dword [0x599f34]
mov ecx, eax
mov dword [esp + 0x1c], 0
shr ecx, 2
neg eax
sbb eax, eax
mov dword [esp + 0x20], ecx
and eax, esi
test ecx, ecx
jle 0x4b683d
mov dword [esp + 0x14], eax
mov ecx, dword [eax]
mov eax, dword [esp + 0x30]
xor esi, esi
lea edx, [ecx + ecx*8]
mov di, word [eax + edx*4 + 0x14]
lea ebp, [eax + edx*4]
xor edx, edx
mov eax, 0x58facc
mov ebx, dword [eax - 4]
test ebx, ebx
jne 0x4b6812
mov ebx, edi
mov esi, 1
and ebx, 0xffff
cmp dword [eax], ebx
je 0x4b684c
add eax, 0xc
inc edx
cmp eax, 0x58fb98
jl 0x4b67fa
test esi, esi
je 0x4b683d
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
inc ecx
add eax, 4
cmp ecx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
jl 0x4b67e0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4b6863
xor esi, esi
jmp 0x4b6866
lea eax, [edx + edx*2]
mov edx, dword [ebp]
shl eax, 2
mov dword [eax + 0x58fac8], edx
mov dword [eax + 0x58fad0], ecx
jmp 0x4b6821
mov esi, dword [eax + 8]
mov cl, byte [esi]
mov eax, esi
test cl, cl
je 0x4b68c0
mov cl, byte [eax]
cmp cl, 9
jne 0x4b687a
mov byte [eax], 0x20
jmp 0x4b68a6
mov dl, byte [eax + 1]
test dl, dl
je 0x4b6897
xor ebx, ebx
mov bh, cl
mov bl, dl
cmp bx, 0xa1a1
jne 0x4b6897
mov byte [eax], 0x20
inc eax
mov byte [eax], 0x20
jmp 0x4b68a6
cmp cl, 0x20
jae 0x4b68a6
cmp cl, 0xd
je 0x4b68a6
cmp cl, 0xa
jne 0x4b68bd
test byte [eax], 0x80
je 0x4b68b3
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4b68c0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4b686e
jmp 0x4b68c0
mov byte [eax], 0
lea ecx, [esp + 0x54]
call fcn.00473490
xor ebp, ebp
mov dword [esp + 0x70], ebp
cmp byte [esi], 0x20
jne 0x4b68dc
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x4b68d4
cmp byte [esi], 0
je 0x4b6932
push esi
lea ecx, [esp + 0x58]
call fcn.00473750
mov al, byte [esi]
mov ecx, esi
cmp al, 0xd
je 0x4b6903
cmp al, 0xa
je 0x4b6903
test al, al
je 0x4b6903
mov al, byte [esi + 1]
inc esi
cmp al, 0xd
jne 0x4b68f3
mov dl, byte [esi]
xor eax, eax
test dl, dl
sete al
mov edx, esi
dec esi
cmp esi, ecx
jb 0x4b691d
cmp byte [esi], 0x20
jne 0x4b691d
dec esi
cmp esi, ecx
jae 0x4b6913
cmp eax, ebp
mov byte [esi + 1], 0
jne 0x4b6932
mov al, byte [edx + 1]
lea esi, [edx + 1]
cmp al, 0xa
jne 0x4b68cf
inc esi
jmp 0x4b68cf
push ebp
lea ecx, [esp + 0x58]
call fcn.00473750
push 0xd0
call fcn.0051a826
mov esi, eax
add esp, 4
mov dword [esp + 0x78], esi
cmp esi, ebp
je 0x4b69ff
mov eax, dword [0x596a0c]
mov dword [esi], eax
mov ecx, dword [0x596a0c]
mov dword [esi + 4], ecx
mov ebx, dword [esp + 0x18]
lea edi, [esi + 0x14]
push ebx
mov ecx, edi
mov byte [esp + 0x74], 3
call fcn.0040bf10
mov dword [edi], 0x54d958
lea edi, [esi + 0x34]
push ebx
mov ecx, edi
mov byte [esp + 0x74], 4
call fcn.0040bf10
mov dword [edi], 0x54d958
lea ecx, [esi + 0x54]
mov byte [esp + 0x70], 5
call fcn.00473490
lea ecx, [esi + 0x68]
mov byte [esp + 0x70], 6
call fcn.00473490
lea ecx, [esi + 0x7c]
mov byte [esp + 0x70], 7
call fcn.00473490
lea ecx, [esi + 0x90]
mov byte [esp + 0x70], 8
call fcn.00473490
lea ecx, [esi + 0xa4]
mov byte [esp + 0x70], 9
call fcn.00473490
lea ecx, [esi + 0xb8]
mov byte [esp + 0x70], 0xa
call fcn.00473490
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xcc], ebx
jmp 0x4b6a05
mov ebx, dword [esp + 0x18]
xor esi, esi
mov edx, dword [esi + 0xc]
xor eax, eax
or edx, 2
mov ebp, esi
mov dword [esi + 0xc], edx
mov edi, dword [esp + 0x64]
neg edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x70], 0
sbb edi, edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], esi
and edi, eax
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x20], eax
je 0x4b6a91
cmp byte [eax], 0x2e
jne 0x4b6a76
lea edx, [esp + 0x20]
push edx
call fcn.004b51c0
add esp, 4
test eax, eax
je 0x4b6a76
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x28]
push ecx
push edi
push edx
push eax
mov ecx, ebx
call fcn.004b5d40
mov edi, eax
jmp 0x4b6a35
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
push edi
mov ecx, ebx
call fcn.004b5b40
mov edi, eax
jmp 0x4b6a35
mov eax, dword [esi + 0xc8]
test eax, eax
jne 0x4b6b80
mov eax, dword [esi + 0x18]
test eax, eax
jg 0x4b6b80
mov eax, dword [esi + 0x38]
test eax, eax
jg 0x4b6b80
test esi, esi
mov dword [esp + 0x78], esi
je 0x4b6b78
lea ecx, [esi + 0xb8]
mov byte [esp + 0x70], 0x13
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0xa4]
mov byte [esp + 0x70], 0x12
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x90]
mov byte [esp + 0x70], 0x11
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x7c]
mov byte [esp + 0x70], 0x10
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x68]
mov byte [esp + 0x70], 0xf
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x54]
mov byte [esp + 0x70], 0xe
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x34]
mov byte [esp + 0x70], 0xd
call fcn.00401e70
lea ecx, [esi + 0x14]
mov byte [esp + 0x70], 0xc
call fcn.00401e70
lea ecx, [esi + 4]
mov byte [esp + 0x70], 0xb
call fcn.00519976
mov ecx, esi
mov byte [esp + 0x70], 0
call fcn.00519976
push esi
call fcn.0051a84f
add esp, 4
xor ebp, ebp
mov dword [esp + 0x30], ebp
jmp 0x4b6b93
mov eax, dword [ebx + 0x188]
lea ecx, [ebx + 0x180]
push esi
push eax
call fcn.00518b9e
xor eax, eax
push 8
mov dword [esp + 0x3c], eax
mov word [esp + 0x42], ax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x45]
push eax
push ecx
mov word [esp + 0x48], 0xffff
mov byte [esp + 0x4c], 0x6a
call fcn.00474360
lea edx, [esp + 0x55]
push 8
push edx
call fcn.004743c0
mov eax, dword [ebx + 0x208]
add esp, 0x14
shr eax, 3
or edx, 0xffffffff
cmp eax, 0xffffffff
mov byte [esp + 0x51], 0x36
mov byte [esp + 0x52], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edx
jle 0x4b6d95
cmp edx, 0xffffffff
jne 0x4b6c06
mov ecx, ebp
test ebp, ebp
mov dword [esp + 0x10], ecx
je 0x4b6d88
jmp 0x4b6c23
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x1f0]
push eax
push edx
call fcn.004d2d50
test eax, eax
je 0x4b6d95
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc8]
test eax, eax
mov dword [esp + 0x78], eax
jle 0x4b6d55
test eax, eax
jne 0x4b6c3d
xor ebp, ebp
jmp 0x4b6c43
mov ebp, dword [ecx + 0xc0]
mov edx, dword [esp + 0x78]
or esi, 0xffffffff
mov edi, ebp
lea eax, [edx + ebp]
cmp ebp, eax
jae 0x4b6cdc
mov bl, byte [edi]
inc edi
mov byte [esp + 0x14], bl
mov eax, dword [esp + 0x14]
push eax
call fcn.004ccac0
add esp, 4
test eax, eax
je 0x4b6ca2
cmp bl, 0x6a
jne 0x4b6c94
mov ecx, edi
call fcn.004ca2f0
test eax, eax
je 0x4b6c94
cmp esi, 0xffffffff
jne 0x4b6c97
mov esi, edi
mov ecx, edi
sub esi, ebp
dec esi
call fcn.004ca4e0
add edi, eax
jmp 0x4b6ca5
or esi, 0xffffffff
mov ecx, edi
call fcn.004ca4e0
add edi, eax
jmp 0x4b6ca5
or esi, 0xffffffff
mov ecx, dword [esp + 0x78]
lea eax, [ecx + ebp]
cmp edi, eax
jb 0x4b6c57
mov ecx, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x4b6cdc
mov eax, dword [ecx + 0xc8]
add ecx, 0xb8
sub eax, esi
push eax
push esi
call fcn.00473ed0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xc8]
mov dword [esp + 0x78], edx
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x4b6cea
xor edi, edi
jmp 0x4b6cf0
mov edi, dword [ecx + 0xc0]
mov eax, dword [esp + 0x78]
mov esi, edi
lea ebp, [eax + edi]
cmp edi, ebp
jae 0x4b6d55
mov bl, byte [esi]
inc esi
mov byte [esp + 0x14], bl
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004ccac0
add esp, 4
test eax, eax
je 0x4b6d34
cmp bl, 0x6a
jne 0x4b6d34
mov ecx, esi
call fcn.004ca2f0
test eax, eax
je 0x4b6d34
mov ecx, esi
call fcn.004ca4e0
add esi, eax
cmp esi, ebp
jb 0x4b6cfd
jmp 0x4b6d51
sub esi, edi
dec esi
test esi, esi
jle 0x4b6d51
mov edx, dword [esp + 0x10]
push esi
push 0
lea ecx, [edx + 0xb8]
call fcn.00473ed0
sub dword [esp + 0x78], esi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
test edx, edx
jne 0x4b6dd6
cmp dword [esp + 0x1c], 0xffffffff
je 0x4b6d71
push ecx
call fcn.004b5710
mov ecx, dword [esp + 0x14]
add esp, 4
push 0xffffffffffffffff
call fcn.004cabd0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
inc edx
cmp edx, eax
mov dword [esp + 0x1c], edx
jl 0x4b6bf1
mov eax, dword [ebx + 0x2c4]
lea ecx, [esp + 0x54]
or al, 1
mov dword [esp + 0x70], 0xffffffff
mov dword [ebx + 0x2c4], eax
mov dword [esp + 0x54], 0x54d7d0
call fcn.00473690
mov eax, 1
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x4b6de4
xor eax, eax
jmp 0x4b6dea
mov eax, dword [ecx + 0xc0]
mov al, byte [eax + edx - 1]
cmp al, 0x73
je 0x4b6dfa
cmp al, 0x72
je 0x4b6dfa
cmp al, 0x74
jne 0x4b6e07
push ecx
call fcn.004b5710
mov ecx, dword [esp + 0x14]
add esp, 4
mov eax, dword [ecx + 0xc8]
xor bl, bl
test eax, eax
jne 0x4b6e17
xor ebp, ebp
jmp 0x4b6e1d
mov ebp, dword [ecx + 0xc0]
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x4b6e2b
xor edx, edx
jmp 0x4b6e31
mov edx, dword [ecx + 0xc0]
mov eax, dword [ecx + 0xc8]
add edx, eax
cmp ebp, edx
jae 0x4b6d71
mov al, byte [ebp]
mov byte [esp + 0x14], al
mov edi, dword [esp + 0x14]
push edi
call fcn.004ccac0
add esp, 4
test eax, eax
jne 0x4b6f45
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x4b6e6f
xor eax, eax
jmp 0x4b6e75
mov eax, dword [ecx + 0xc0]
mov esi, ebp
and edi, 0xff
sub esi, eax
lea eax, [edi - 0x50]
cmp eax, 0x24
ja case.0x4b6e93.87
xor edx, edx
mov dl, byte [eax + 0x4b6f7c]
jmp dword [edx*4 + 0x4b6f5c]
mov al, byte [ebp + 1]
push eax
jmp 0x4b6eba
cmp bl, 0x6b
jne case.0x4b6e93.87
jmp 0x4b6eed
cmp bl, 0x50
jne case.0x4b6e93.87
jmp 0x4b6eed
mov cl, byte [ebp + 1]
push ecx
call fcn.004c9890
add esp, 4
cmp eax, 5
jne 0x4b6f37
jmp 0x4b6ee8
cmp bl, 0x6e
jne case.0x4b6e93.87
jmp 0x4b6eed
cmp bl, 0x6f
jne case.0x4b6e93.87
jmp 0x4b6eed
mov dl, byte [ebp + 1]
push edx
call fcn.004c9890
add esp, 4
cmp eax, 5
jne 0x4b6f37
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, 0xffffffff
je case.0x4b6e93.87
lea eax, [esp + 0x40]
push 0x13
push eax
push esi
add ecx, 0xb8
call fcn.00473cb0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x4b6f23
mov bl, byte [esp + 0x14]
xor eax, eax
lea ebp, [eax + esi + 0x13]
inc ebp
jmp 0x4b6e1d
mov eax, dword [ecx + 0xc0]
mov bl, byte [esp + 0x14]
lea ebp, [eax + esi + 0x13]
inc ebp
jmp 0x4b6e1d
mov ecx, dword [esp + 0x10]
mov bl, byte [esp + 0x14]
inc ebp
jmp 0x4b6e1d
inc ebp
mov ecx, ebp
call fcn.004ca4e0
mov ecx, dword [esp + 0x10]
mov bl, byte [esp + 0x14]
add ebp, eax
jmp 0x4b6e1d