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

Disassembly:
sub esp, 0xa8
mov eax, dword [0x886f80]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push esi
mov esi, dword [esp + 0xb4]
xor bl, bl
mov byte [esp + 8], 1
mov eax, dword [esi + 0x14]
cmp byte [eax + 0x1e], bl
sete byte [esp + 9]
mov cl, byte [eax + 0x1e]
mov byte [esp + 0xa], cl
cmp byte [eax + 0x1e], bl
jne 0x4a8580
mov ecx, dword [eax + 0x9c]
and ecx, 0x801
cmp ecx, 1
jne 0x4a8580
mov cl, cl
jmp 0x4a8582
xor cl, cl
mov byte [esp + 0xb], cl
mov cl, byte [eax + 0x60]
mov byte [esp + 0xc], cl
cmp byte [eax + 0x2a], bl
je 0x4a859b
cmp byte [eax + 0x27], bl
jne 0x4a859b
xor cl, cl
jmp 0x4a859d
mov cl, 1
mov edx, dword [esi + 0x104]
mov byte [esp + 0xd], cl
mov ecx, edx
and ecx, 0x40
push edi
sete byte [esp + 0x12]
mov edi, edx
and edi, 0x80
sete byte [esp + 0x13]
test ecx, ecx
jne 0x4a85cf
test edx, 0x1000
jne 0x4a85cf
mov cl, 1
jmp 0x4a85d1
xor cl, cl
mov byte [esp + 0x14], cl
test edi, edi
jne 0x4a85e5
test edx, 0x2000
jne 0x4a85e5
mov cl, 1
jmp 0x4a85e7
xor cl, cl
test edx, 0x1240
mov byte [esp + 0x15], cl
sete byte [esp + 0x16]
test edx, 0x2480
sete byte [esp + 0x17]
cmp byte [eax + 0x53], bl
sete byte [esp + 0x18]
cmp byte [eax + 0x51], bl
sete byte [esp + 0x19]
cmp byte [eax + 0x74], bl
jne 0x4a8620
cmp byte [eax + 0x75], bl
je 0x4a8628
test dl, 2
jne 0x4a8628
test edi, edi
jne 0x4a8628
mov cl, 1
jmp 0x4a862a
xor cl, cl
mov byte [esp + 0x1a], cl
pop edi
cmp byte [eax + 0x74], bl
jne 0x4a863e
cmp byte [eax + 0x75], bl
je 0x4a864a
test dl, 2
jne 0x4a864a
test edx, 0x2480
jne 0x4a864a
mov cl, 1
jmp 0x4a864c
xor cl, cl
mov byte [esp + 0x17], cl
cmp byte [eax + 0x6d], bl
sete byte [esp + 0x18]
cmp byte [eax + 0x6e], bl
sete byte [esp + 0x19]
cmp byte [eax + 0x6f], bl
sete byte [esp + 0x1a]
cmp byte [eax + 0x73], bl
sete byte [esp + 0x1b]
cmp byte [eax + 0x71], bl
sete byte [esp + 0x1c]
cmp byte [eax + 0x70], bl
sete byte [esp + 0x1d]
cmp byte [eax + 0x72], bl
sete byte [esp + 0x1e]
movzx ecx, byte [eax + 7]
mov byte [esp + 0x1f], cl
cmp byte [eax + 7], bl
sete byte [esp + 0x20]
movzx ecx, byte [eax + 8]
mov byte [esp + 0x21], cl
cmp byte [eax + 8], bl
sete byte [esp + 0x22]
movzx ecx, byte [eax + 9]
mov byte [esp + 0x23], cl
cmp byte [eax + 9], bl
sete byte [esp + 0x24]
movzx ecx, byte [eax + 0x2a]
mov byte [esp + 0x25], cl
cmp byte [eax + 0x2a], bl
jne 0x4a86d2
test byte [eax + 0xa0], 8
jne 0x4a86d2
xor cl, cl
jmp 0x4a86d4
mov cl, 1
mov byte [esp + 0x26], cl
mov cl, byte [eax + 0x27]
mov byte [esp + 0x27], cl
cmp byte [eax + 0x27], bl
jne 0x4a86f3
test byte [eax + 0xa0], 0x10
lea edx, [eax + 0xa0]
je 0x4a8706
test byte [eax + 0xa0], 0x40
lea edx, [eax + 0xa0]
jne 0x4a8706
mov cl, 1
jmp 0x4a8708
xor cl, cl
mov byte [esp + 0x28], cl
cmp byte [eax + 0x27], bl
sete byte [esp + 0x29]
cmp byte [eax + 0x27], bl
jne 0x4a8722
test byte [edx], 0x10
jne 0x4a8722
mov cl, 1
jmp 0x4a8724
xor cl, cl
mov byte [esp + 0x2a], cl
mov cl, byte [eax + 0x28]
mov byte [esp + 0x2b], cl
cmp byte [eax + 0x28], bl
jne 0x4a873d
test byte [edx], 0x40
jne 0x4a873d
xor cl, cl
jmp 0x4a873f
mov cl, 1
mov byte [esp + 0x2c], cl
movzx ecx, byte [eax + 0x29]
mov byte [esp + 0x2d], cl
movzx ecx, byte [eax + 1]
mov byte [esp + 0x2e], cl
movzx ecx, byte [eax + 2]
mov byte [esp + 0x2f], cl
movzx ecx, byte [eax + 3]
mov byte [esp + 0x30], cl
movzx ecx, byte [eax + 4]
mov byte [esp + 0x31], cl
movzx ecx, byte [eax + 5]
mov byte [esp + 0x32], cl
movzx ecx, byte [eax + 6]
mov byte [esp + 0x33], cl
movzx ecx, byte [eax + 0x24]
mov byte [esp + 0x34], cl
cmp byte [eax + 0x24], bl
sete byte [esp + 0x35]
movzx ecx, byte [eax + 0x25]
mov byte [esp + 0x36], cl
cmp byte [eax + 0xb], bl
sete byte [esp + 0x37]
cmp byte [eax + 0x21], bl
sete byte [esp + 0x38]
movzx ecx, byte [eax + 0xb]
mov byte [esp + 0x39], cl
cmp byte [eax + 0xb], bl
jne 0x4a87bd
test byte [esi + 0x104], 0x80
jne 0x4a87bd
mov cl, 1
jmp 0x4a87bf
xor cl, cl
mov byte [esp + 0x3a], cl
cmp byte [eax + 0x20], bl
sete byte [esp + 0x3b]
mov edx, dword [eax + 0xa0]
shr edx, 0xb
cmp byte [eax + 0x20], bl
not dl
sete cl
and dl, cl
mov byte [esp + 0x3c], dl
movzx ecx, byte [eax + 0x22]
mov byte [esp + 0x3d], cl
movzx ecx, byte [eax + 0x23]
mov byte [esp + 0x3e], cl
cmp byte [eax + 0x22], bl
sete byte [esp + 0x3f]
cmp byte [eax + 0x23], bl
sete byte [esp + 0x40]
movzx ecx, byte [eax + 0x1c]
mov byte [esp + 0x41], cl
movzx ecx, byte [eax + 0x1d]
mov byte [esp + 0x42], cl
cmp byte [eax + 0x35], bl
sete byte [esp + 0x43]
movzx ecx, byte [eax + 0x62]
mov byte [esp + 0x44], cl
movzx ecx, byte [eax + 0x63]
mov byte [esp + 0x45], cl
cmp byte [eax + 0x61], bl
sete byte [esp + 0x46]
cmp byte [eax + 0x62], bl
sete byte [esp + 0x47]
cmp byte [eax + 0x63], bl
sete byte [esp + 0x48]
movzx ecx, byte [eax + 0xa]
mov byte [esp + 0x49], cl
cmp byte [eax + 0xa], bl
sete byte [esp + 0x4a]
movzx ecx, byte [eax]
mov byte [esp + 0x4b], cl
movzx ecx, byte [eax + 0xc]
mov byte [esp + 0x4c], cl
cmp byte [eax + 0xc], bl
sete byte [esp + 0x4d]
movzx ecx, byte [eax + 0xd]
mov byte [esp + 0x4e], cl
mov ecx, dword [eax + 0xa0]
shr ecx, 0xe
not cl
and cl, 1
mov byte [esp + 0x4f], cl
cmp byte [eax + 0x3f], bl
sete byte [esp + 0x50]
cmp byte [eax + 0x40], bl
sete byte [esp + 0x51]
movzx ecx, byte [eax + 0x6b]
mov byte [esp + 0x52], cl
movzx ecx, byte [eax + 0x35]
mov byte [esp + 0x53], cl
cmp byte [eax + 0x36], bl
jne 0x4a88b1
cmp byte [eax + 0x3e], bl
jne 0x4a88b1
xor cl, cl
jmp 0x4a88b3
mov cl, 1
mov byte [esp + 0x54], cl
movzx ecx, byte [eax + 0x77]
mov byte [esp + 0x55], cl
movzx ecx, byte [eax + 0x3c]
mov byte [esp + 0x56], cl
cmp byte [eax + 0x3d], bl
jne 0x4a88d5
cmp byte [eax + 0x3e], bl
jne 0x4a88d5
xor cl, cl
jmp 0x4a88d7
mov cl, 1
mov byte [esp + 0x57], cl
cmp byte [eax + 0x3c], bl
sete byte [esp + 0x58]
movzx ecx, byte [eax + 0x76]
mov byte [esp + 0x59], cl
cmp byte [eax + 0x13], bl
sete byte [esp + 0x5a]
cmp byte [eax + 0x14], bl
sete byte [esp + 0x5b]
cmp byte [eax + 0x15], bl
sete byte [esp + 0x5c]
movzx ecx, byte [eax + 0xe]
mov byte [esp + 0x5d], cl
movzx ecx, byte [eax + 0x16]
mov byte [esp + 0x5e], cl
movzx ecx, byte [eax + 0x17]
mov byte [esp + 0x5f], cl
cmp byte [eax + 0x10], bl
je 0x4a892e
cmp byte [eax + 0x7a], bl
je 0x4a892e
cmp byte [eax + 0x7b], bl
je 0x4a892e
mov cl, 1
jmp 0x4a8930
xor cl, cl
mov byte [esp + 0x60], cl
mov cl, byte [eax + 0x4f]
mov byte [esp + 0x61], cl
cmp byte [eax + 0x50], bl
jne 0x4a894d
test byte [eax + 0x9c], 0x40
jne 0x4a894d
xor cl, cl
jmp 0x4a894f
mov cl, 1
mov byte [esp + 0x62], cl
mov cl, byte [eax + 0x54]
mov byte [esp + 0x63], cl
cmp byte [eax + 0x51], bl
jne 0x4a896c
test byte [eax + 0x9c], 0x40
jne 0x4a896c
xor cl, cl
jmp 0x4a896e
mov cl, 1
mov byte [esp + 0x64], cl
movzx ecx, byte [eax + 0x51]
mov byte [esp + 0x65], cl
movzx ecx, byte [eax + 0x52]
mov byte [esp + 0x66], cl
mov ecx, dword [eax + 0x9c]
shr ecx, 0x14
and cl, 1
mov byte [esp + 0x67], cl
mov ecx, dword [eax + 0x9c]
shr ecx, 0x15
and cl, 1
mov byte [esp + 0x68], cl
mov ecx, dword [eax + 0x9c]
shr ecx, 0xa
and cl, 1
mov byte [esp + 0x69], cl
mov ecx, dword [eax + 0x9c]
shr ecx, 5
and cl, 1
mov byte [esp + 0x6a], cl
cmp byte [eax + 0x10], bl
je 0x4a89da
cmp byte [eax + 0x7a], bl
je 0x4a89d6
cmp byte [eax + 0x7b], bl
jne 0x4a89da
cmp byte [eax + 0x7c], bl
jne 0x4a89da
mov cl, 1
jmp 0x4a89dc
xor cl, cl
mov byte [esp + 0x6b], cl
cmp byte [eax + 0x10], bl
je 0x4a89f3
cmp byte [eax + 0x7a], bl
je 0x4a89f3
cmp byte [eax + 0x7c], bl
je 0x4a89f3
mov cl, 1
jmp 0x4a89f5
xor cl, cl
mov byte [esp + 0x6c], cl
cmp byte [eax + 0xf], bl
je 0x4a8a07
cmp byte [eax + 0x79], bl
je 0x4a8a07
mov cl, 1
jmp 0x4a8a09
xor cl, cl
mov byte [esp + 0x6d], cl
mov cl, byte [eax + 0x7a]
mov byte [esp + 0x6e], cl
cmp byte [eax + 0xf], bl
je 0x4a8a22
cmp byte [eax + 0x79], bl
jne 0x4a8a22
mov cl, 1
jmp 0x4a8a24
xor cl, cl
mov byte [esp + 0x6f], cl
cmp byte [eax + 0x13], bl
je 0x4a8a3b
cmp byte [eax + 0x76], bl
jne 0x4a8a3b
cmp byte [eax + 0x7d], bl
jne 0x4a8a3b
mov cl, 1
jmp 0x4a8a3d
xor cl, cl
mov byte [esp + 0x70], cl
cmp byte [eax + 0x13], bl
je 0x4a8a4f
cmp byte [eax + 0x76], bl
je 0x4a8a4f
mov cl, 1
jmp 0x4a8a51
xor cl, cl
mov byte [esp + 0x71], cl
cmp byte [eax + 0x13], bl
je 0x4a8a63
cmp byte [eax + 0x7d], bl
je 0x4a8a63
mov cl, 1
jmp 0x4a8a65
xor cl, cl
mov byte [esp + 0x72], cl
cmp byte [eax + 0x14], bl
je 0x4a8a77
cmp byte [eax + 0x76], bl
je 0x4a8a77
mov cl, 1
jmp 0x4a8a79
xor cl, cl
mov byte [esp + 0x73], cl
cmp byte [eax + 0x14], bl
je 0x4a8a8b
cmp byte [eax + 0x7d], bl
je 0x4a8a8b
mov cl, 1
jmp 0x4a8a8d
xor cl, cl
mov byte [esp + 0x74], cl
cmp byte [eax + 0x7d], bl
jne 0x4a8a9f
cmp byte [eax + 0x76], bl
je 0x4a8a9f
mov cl, 1
jmp 0x4a8aa1
xor cl, cl
mov byte [esp + 0x75], cl
movzx ecx, byte [eax + 0x15]
mov byte [esp + 0x76], cl
movzx ecx, byte [eax + 0x3f]
mov byte [esp + 0x77], cl
movzx ecx, byte [eax + 0x40]
mov byte [esp + 0x78], cl
movzx ecx, byte [eax + 0x2e]
mov byte [esp + 0x79], cl
movzx ecx, byte [eax + 0x30]
mov byte [esp + 0x7a], cl
movzx ecx, byte [eax + 0x2f]
mov byte [esp + 0x7b], cl
movzx ecx, byte [eax + 0x31]
mov byte [esp + 0x7c], cl
movzx ecx, byte [eax + 0x38]
mov byte [esp + 0x7d], cl
movzx ecx, byte [eax + 0x3a]
mov byte [esp + 0x7e], cl
movzx ecx, byte [eax + 0x39]
mov byte [esp + 0x7f], cl
movzx ecx, byte [eax + 0x3b]
mov byte [esp + 0x80], cl
movzx ecx, byte [eax + 0x3e]
mov byte [esp + 0x81], cl
movzx ecx, byte [eax + 0x1f]
mov byte [esp + 0x82], cl
cmp byte [eax + 0x1f], bl
sete byte [esp + 0x83]
movzx ecx, byte [eax + 0x20]
mov byte [esp + 0x84], cl
mov ecx, dword [eax + 0xa0]
shr ecx, 0xb
and cl, 1
mov byte [esp + 0x85], cl
cmp byte [eax + 0x65], bl
sete byte [esp + 0x86]
cmp byte [eax + 0x66], bl
sete byte [esp + 0x87]
cmp byte [eax + 0x67], bl
sete byte [esp + 0x88]
movzx ecx, byte [eax + 0x65]
mov byte [esp + 0x89], cl
movzx ecx, byte [eax + 0x67]
mov byte [esp + 0x8a], cl
movzx ecx, byte [eax + 0x66]
mov byte [esp + 0x8b], cl
cmp byte [eax + 0x51], bl
jne 0x4a8b93
test byte [eax + 0x9c], 0x40
jne 0x4a8b93
mov cl, 1
jmp 0x4a8b95
xor cl, cl
mov byte [esp + 0x8c], cl
cmp byte [eax + 0x52], bl
sete byte [esp + 0x8d]
cmp byte [eax + 0x52], bl
jne 0x4a8bbc
test dword [eax + 0x9c], 0x100000
jne 0x4a8bbc
mov cl, 1
jmp 0x4a8bbe
xor cl, cl
mov dl, byte [esi + 0x38]
mov byte [esp + 0x8e], cl
movzx ecx, byte [eax + 0x53]
mov byte [esp + 0x8f], cl
movzx ecx, byte [eax + 0x81]
mov byte [esp + 0x90], cl
movzx ecx, byte [eax + 0x82]
mov byte [esp + 0x91], cl
movzx ecx, byte [eax + 0x2c]
mov byte [esp + 0x92], cl
cmp byte [eax + 0x11], bl
sete byte [esp + 0x93]
movzx ecx, byte [eax + 0x7e]
mov byte [esp + 0x94], cl
cmp dl, 5
jne 0x4a8c22
test byte [esi + 0x140], 3
jne 0x4a8c22
mov cl, 1
jmp 0x4a8c24
xor cl, cl
mov byte [esp + 0x95], cl
movzx ecx, byte [eax + 0x1b]
mov byte [esp + 0x96], cl
movzx ecx, byte [eax + 0xb3]
mov byte [esp + 0x97], cl
movzx ecx, byte [eax + 0x80]
mov byte [esp + 0x98], cl
cmp byte [eax + 0x5c], bl
sete byte [esp + 0x99]
movzx ecx, byte [eax + 0x69]
mov byte [esp + 0x9a], cl
cmp byte [eax + 0x69], bl
je 0x4a8c7d
test dword [eax + 0xa0], 0x200
jne 0x4a8c7d
mov cl, 1
jmp 0x4a8c7f
xor cl, cl
mov byte [esp + 0x9b], cl
mov cl, byte [eax + 0x19]
mov byte [esp + 0x9c], cl
cmp byte [eax + 0x6a], bl
jne 0x4a8c9e
cmp byte [eax + 0x1a], bl
jne 0x4a8c9e
xor cl, cl
jmp 0x4a8ca0
mov cl, 1
mov byte [esp + 0x9d], cl
movzx ecx, byte [eax + 0x1a]
mov byte [esp + 0x9e], cl
movzx ecx, byte [eax + 0x21]
mov byte [esp + 0x9f], cl
movzx ecx, byte [eax + 0x64]
mov byte [esp + 0xa0], cl
movzx ecx, byte [eax + 0x5c]
mov byte [esp + 0xa1], cl
movzx ecx, byte [eax + 0x26]
mov byte [esp + 0xa2], cl
movzx ecx, byte [eax + 0x2b]
mov byte [esp + 0xa3], cl
test dl, dl
je 0x4a8cfb
cmp dl, 3
je 0x4a8cfb
cmp byte [eax + 0x7f], bl
jne 0x4a8cfb
mov cl, 1
jmp 0x4a8cfd
xor cl, cl
mov byte [esp + 0xa4], cl
mov cl, byte [eax + 0x78]
mov byte [esp + 0xa5], cl
cmp byte [eax + 0x41], bl
sete byte [esp + 0xa6]
cmp byte [eax + 0x42], bl
sete byte [esp + 0xa7]
cmp byte [eax + 0xb2], bl
sete byte [esp + 0xa8]
cmp byte [eax + 0xb4], bl
je 0x4a8d4a
test dword [esi + 0x104], 0x8000
jne 0x4a8d4a
mov cl, 1
jmp 0x4a8d4c
xor cl, cl
mov byte [esp + 0xa9], cl
mov cl, byte [eax + 0x68]
mov byte [esp + 0xaa], cl
cmp byte [eax + 0x68], bl
je 0x4a8d6e
cmp byte [eax + 0x93], bl
jne 0x4a8d6e
mov al, 1
jmp 0x4a8d70
xor al, al
mov esi, dword [esi + 0x160]
mov byte [esp + 0xab], al
xor eax, eax
cmp dword [esi], eax
cmove esi, eax
test esi, esi
je 0x4a8deb
cmp dword [esi + 0x18], eax
jne 0x4a8dae
mov esi, dword [esi]
cmp dword [esi], eax
je 0x4a8deb
test esi, esi
jne 0x4a8d88
pop esi
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004e5b77
add esp, 0xa8
ret
test esi, esi
je 0x4a8deb
mov eax, dword [esi + 0x18]
push 0x8631dc
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004b2c90
mov esi, dword [esi]
add esp, 0xc
or al, bl
setne bl
cmp dword [esi], 0
je 0x4a8de9
test esi, esi
je 0x4a8de9
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4a8db5
mov esi, dword [esi]
cmp dword [esi], eax
je 0x4a8de9
test esi, esi
jne 0x4a8dd8
mov al, bl
mov ecx, dword [esp + 0xac]
pop esi
pop ebx
xor ecx, esp
call fcn.004e5b77
add esp, 0xa8
ret