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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
push ebx
push esi
push edi
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 0x1cc], eax
lea ebx, [ebp - 0x164]
lea esi, [ebp - 0x16c]
mov eax, 0x593634
call fcn.00527ca4
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x1e0], edx
xor eax, eax
mov word [ebp - 0x1b8], 8
mov dword [ebp - 0x14c], ecx
xor edx, edx
inc dword [ebp - 0x1ac]
inc dword [ebp - 0x1ac]
mov word [ebp - 0x1b8], 0x14
mov word [ebp - 0x1b8], 0x20
mov dword [ebp - 0x15c], eax
inc dword [ebp - 0x1ac]
mov word [ebp - 0x1b8], 0x14
mov word [ebp - 0x1b8], 0x2c
mov dword [ebp - 0x160], edx
inc dword [ebp - 0x1ac]
mov word [ebp - 0x1b8], 0x14
mov ecx, dword [ebp - 0x1cc]
cmp byte [ecx + 0xc], 0
je 0x48626c
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp - 0x160]
dec dword [ebp - 0x1ac]
call fcn.005370f0
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x15c]
mov edx, 2
call fcn.005370f0
dec dword [ebp - 0x1ac]
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.005370f0
pop eax
mov edx, dword [ebp - 0x1c8]
mov dword fs:[0], edx
jmp 0x486b7a
xor ecx, ecx
mov dword [ebp - 0x1d8], ecx
jmp 0x4863e2
mov word [ebp - 0x1b8], 0x38
xor eax, eax
mov dword [ebx], eax
mov ecx, ebx
inc dword [ebp - 0x1ac]
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1d0]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, ebx
lea eax, [ebp - 0x15c]
call fcn.00537120
dec dword [ebp - 0x1ac]
mov eax, ebx
mov edx, 2
call fcn.005370f0
cmp dword [ebp - 0x15c], 0
je 0x4862d2
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ecx - 4]
jmp 0x4862d4
xor eax, eax
cmp eax, 2
jne 0x48634c
push 2
lea edx, [ebp - 0x15c]
push edx
call fcn.00536f58
add esp, 8
lea eax, [ebp - 0x15c]
call fcn.0053732c
mov edx, dword [ebp - 0x15c]
inc edx
movsx ecx, byte [edx]
cmp ecx, 0x3a
jne 0x48634c
mov word [ebp - 0x1b8], 0x44
mov edx, 0x5932a4
lea eax, [ebp - 0x168]
call fcn.00536fdc
inc dword [ebp - 0x1ac]
lea edx, [ebp - 0x168]
lea eax, [ebp - 0x15c]
call fcn.00537134
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.005370f0
jmp 0x48638b
mov word [ebp - 0x1b8], 0x50
xor ecx, ecx
mov dword [esi], ecx
mov edx, esi
inc dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x15c]
call fcn.0051b444
mov edx, esi
lea eax, [ebp - 0x15c]
call fcn.00537120
dec dword [ebp - 0x1ac]
mov eax, esi
mov edx, 2
call fcn.005370f0
test byte [ebp - 0x1d4], 8
je 0x4863c5
mov eax, dword [ebp - 0x15c]
call fcn.0051b0a8
test al, al
jne 0x4863c5
mov eax, dword [ebp - 0x15c]
call fcn.00481724
test al, al
jne 0x4863c5
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x4863e2
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x1d8]
mov edi, dword [eax]
call dword [edi + 0x20]
inc dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1d0]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x1d8]
jg 0x486279
xor ecx, ecx
mov dword [ebp - 0x1d8], ecx
jmp 0x486b06
mov word [ebp - 0x1b8], 0x5c
xor eax, eax
mov dword [ebp - 0x170], eax
lea ecx, [ebp - 0x170]
inc dword [ebp - 0x1ac]
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1d0]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x170]
lea eax, [ebp - 0x15c]
call fcn.00537120
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x170]
mov edx, 2
call fcn.005370f0
mov ecx, dword [ebp - 0x1cc]
cmp byte [ecx + 0xc], 0
jne 0x486b1d
mov word [ebp - 0x1b8], 0x68
xor eax, eax
mov dword [ebp - 0x174], eax
lea edx, [ebp - 0x174]
inc dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x15c]
call fcn.0051b3fc
lea edx, [ebp - 0x174]
push edx
mov edx, 0x5932a6
lea eax, [ebp - 0x178]
call fcn.00536fdc
inc dword [ebp - 0x1ac]
lea edx, [ebp - 0x178]
pop eax
call fcn.00537260
test eax, eax
lea eax, [ebp - 0x178]
sete cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0x1ac]
call fcn.005370f0
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x174]
mov edx, 2
call fcn.005370f0
pop ecx
test cl, cl
je 0x486575
push 0
mov ebx, dword [ebp - 0x1cc]
add ebx, 0x81
cmp dword [ebp - 0x15c], 0
mov ecx, ebx
je 0x486517
mov edx, dword [ebp - 0x15c]
jmp 0x48651c
mov edx, 0x5932a5
mov eax, dword [ebp - 0x1cc]
mov eax, dword [eax + 0x30]
call fcn.0043d240
test eax, eax
je 0x486b00
mov word [ebp - 0x1b8], 0x74
mov edx, ebx
lea eax, [ebp - 0x17c]
call fcn.00536fdc
inc dword [ebp - 0x1ac]
lea edx, [ebp - 0x17c]
lea eax, [ebp - 0x15c]
call fcn.00537120
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x17c]
mov edx, 2
call fcn.005370f0
mov eax, dword [ebp - 0x15c]
call fcn.00481724
test al, al
je 0x486773
test byte [ebp - 0x1d4], 2
jne 0x48659e
test byte [ebp - 0x1d4], 4
je 0x486b00
mov eax, dword [ebp - 0x15c]
call fcn.0051b780
test al, al
je 0x486b00
mov word [ebp - 0x1b8], 0x80
mov edx, 0x5932ab
lea eax, [ebp - 0x180]
call fcn.00536fdc
inc dword [ebp - 0x1ac]
mov eax, dword [eax]
lea ecx, [ebp - 0x158]
mov edx, 0x31
call fcn.0051b11c
test eax, eax
mov edx, 2
sete al
and eax, 1
push eax
lea eax, [ebp - 0x180]
dec dword [ebp - 0x1ac]
call fcn.005370f0
pop ecx
test ecx, ecx
je 0x486b00
and dword [ebp - 0x1d4], 0xfffffffb
mov dl, 1
mov eax, dword [0x50c8d0]
call fcn.0040e3c0
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x184]
mov word [ebp - 0x1b8], 0x8c
mov edx, 0x5932af
call fcn.00536fdc
inc dword [ebp - 0x1ac]
lea edx, [ebp - 0x184]
lea eax, [ebp - 0x14c]
call fcn.005371ec
test eax, eax
lea eax, [ebp - 0x184]
sete cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0x1ac]
call fcn.005370f0
pop ecx
test cl, cl
je 0x486684
lea eax, [ebp - 0x158]
call fcn.0051b16c
jmp 0x4866ea
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4866ea
test byte [ebp - 0x1d4], 0x1f
jne 0x4866d9
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x1cc]
call fcn.00485ed4
test al, al
jne 0x4866d9
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x1cc]
call fcn.0048602c
test al, al
jne 0x4866d9
mov eax, dword [ebp - 0x14c]
call fcn.00481724
test al, al
je 0x4866ea
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x158]
call fcn.0051b16c
test eax, eax
je 0x486697
lea eax, [ebp - 0x158]
call fcn.0051b190
mov eax, dword [ebp - 0x1e4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x486730
mov ecx, dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x1cc]
call fcn.00486160
add dword [ebp - 0x1e0], eax
mov ebx, dword [ebp - 0x1e4]
mov dword [ebp - 0x18c], ebx
test ebx, ebx
je 0x486b00
mov eax, dword [ebx]
mov dword [ebp - 0x188], eax
mov word [ebp - 0x1b8], 0xa4
mov edx, 3
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x1b8], 0x98
jmp 0x486b00
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x1cc]
call fcn.0048602c
test al, al
je 0x4869ec
test byte [ebp - 0x1d4], 1
jne 0x4867a2
test byte [ebp - 0x1d4], 4
je 0x486b00
mov eax, dword [ebp - 0x15c]
call fcn.0051b0a8
test al, al
je 0x486b00
and dword [ebp - 0x1d4], 0xfffffffb
mov word [ebp - 0x1b8], 0xb0
xor edx, edx
mov dword [ebp - 0x190], edx
lea edx, [ebp - 0x190]
inc dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x15c]
call fcn.0051b2fc
lea eax, [ebp - 0x190]
mov eax, dword [eax]
call fcn.0051b780
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x190]
mov edx, 2
call fcn.005370f0
xor ecx, ecx
mov dl, 1
mov dword [ebp - 0x1e4], ecx
mov eax, dword [0x50c8d0]
mov word [ebp - 0x1b8], 0xbc
call fcn.0040e3c0
mov dword [ebp - 0x1e4], eax
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov word [ebp - 0x1b8], 0x14
jmp 0x486854
cmp dword [ebp - 0x1e4], 0
je 0x486b00
xor eax, eax
mov dword [ebp - 0x1dc], eax
jmp 0x486963
mov word [ebp - 0x1b8], 0xc8
xor edx, edx
mov dword [ebp - 0x194], edx
lea ecx, [ebp - 0x194]
inc dword [ebp - 0x1ac]
mov edx, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x1e4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x194]
xor edx, edx
mov dword [ebp - 0x198], edx
lea edx, [ebp - 0x198]
inc dword [ebp - 0x1ac]
call fcn.00537434
lea edx, [ebp - 0x198]
lea eax, [ebp - 0x160]
call fcn.00537120
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x198]
mov edx, 2
call fcn.005370f0
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x194]
mov edx, 2
call fcn.005370f0
cmp dword [ebp - 0x160], 0
sete cl
and ecx, 1
test cl, cl
jne 0x486933
push 1
lea eax, [ebp - 0x160]
push eax
call fcn.00536f58
add esp, 8
lea eax, [ebp - 0x160]
call fcn.0053732c
mov edx, dword [ebp - 0x160]
movsx ecx, byte [edx]
cmp ecx, 0x23
jne 0x486946
mov edx, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x486963
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x1dc]
mov ebx, dword [eax]
call dword [ebx + 0x20]
inc dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x1e4]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x1dc]
jg 0x48686e
mov eax, dword [ebp - 0x1e4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4869a9
mov ecx, dword [ebp - 0x1d4]
and ecx, 0xfffffffc
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x1cc]
call fcn.00486160
add dword [ebp - 0x1e0], eax
mov ebx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1a0], ebx
test ebx, ebx
je 0x486b00
mov eax, dword [ebx]
mov dword [ebp - 0x19c], eax
mov word [ebp - 0x1b8], 0xe0
mov edx, 3
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x1b8], 0xd4
jmp 0x486b00
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x1cc]
call fcn.00485ed4
test al, al
jne 0x486a0e
test byte [ebp - 0x1d4], 0x20
je 0x486af5
mov word [ebp - 0x1b8], 0xec
xor edx, edx
mov dword [ebp - 0x1a4], edx
lea edx, [ebp - 0x1a4]
inc dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x15c]
call fcn.0051b3c4
lea edx, [ebp - 0x1a4]
lea eax, [ebp - 0x160]
call fcn.00537120
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x1a4]
mov edx, 2
call fcn.005370f0
test byte [ebp - 0x1d4], 0x10
jne 0x486a84
lea ecx, [ebp - 0x1dc]
mov eax, dword [ebp - 0x1cc]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 0x160]
mov ebx, dword [eax]
call dword [ebx + 0x78]
test al, al
jne 0x486af5
lea ecx, [ebp - 0x1e8]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x1cc]
call fcn.00485e20
test al, al
je 0x486af5
mov eax, dword [ebp - 0x1cc]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 0x160]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov esi, dword [ebp - 0x1cc]
add esi, 0x3c
mov ebx, esi
mov eax, dword [ebx]
mov edx, dword [ebp - 0x15c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dword [ebp - 0x1dc], eax
mov eax, esi
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x1dc]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x1cc]
inc dword [eax + 0x6c]
inc dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1cc]
call fcn.00486118
inc dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1d0]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x1d8]
jg 0x486406
mov eax, dword [ebp - 0x1e0]
mov edx, 2
push eax
lea eax, [ebp - 0x160]
dec dword [ebp - 0x1ac]
call fcn.005370f0
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x15c]
mov edx, 2
call fcn.005370f0
dec dword [ebp - 0x1ac]
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.005370f0
pop eax
mov edx, dword [ebp - 0x1c8]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret