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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x3e
push 0
push 0
dec ecx
jne 0x10098599
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x44], eax
xor eax, eax
push ebp
push 0x100997f0
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov dl, 1
mov eax, 0x10099810
call fcn.100981a8
pop ecx
mov dword [ebp - 0x48], 0xffffffff
call fcn.1005eab0
test al, al
jne 0x10098635
push ebp
mov dl, 1
mov eax, 0x1009983c
call fcn.100981a8
pop ecx
push ebp
push 0x10099890
call sub.kernel32.dll_GetLastError
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x7c]
call fcn.1000b774
push dword [ebp - 0x7c]
push 0x100998b8
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x80]
call fcn.10010898
push dword [ebp - 0x80]
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.10005ee0
mov eax, dword [ebp - 0x78]
mov dl, 1
call fcn.100981a8
pop ecx
jmp 0x100997a5
xor eax, eax
push ebp
push 0x1009979e
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0
push 0
push 0
mov eax, dword [0x100aa368]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x100986cd
push ebp
mov dl, 1
mov eax, 0x100998cc
call fcn.100981a8
pop ecx
push ebp
push 0x10099890
call sub.kernel32.dll_GetLastError
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x88]
call fcn.1000b774
push dword [ebp - 0x88]
push 0x100998b8
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x8c]
call fcn.10010898
push dword [ebp - 0x8c]
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.10005ee0
mov eax, dword [ebp - 0x84]
mov dl, 1
call fcn.100981a8
pop ecx
call fcn.10004808
jmp 0x100997a5
lea eax, [ebp - 0x34]
xor ecx, ecx
mov edx, 0x1c
call fcn.10003630
mov dword [ebp - 0x34], 0x1c
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x90]
call fcn.10097e84
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x3c]
mov ecx, 0x10099914
call fcn.10005dfc
jmp 0x100996fa
cmp dword [ebp + 8], 0
je 0x10098722
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10099717
inc dword [ebp - 0x50]
push ebp
xor edx, edx
xor eax, eax
call fcn.100981a8
pop ecx
push ebp
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x50]
call fcn.1000b568
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
mov edx, 0x1009992c
call fcn.10005dfc
mov eax, dword [ebp - 0x94]
xor edx, edx
call fcn.100981a8
pop ecx
mov edx, dword [0x1005f6f4]
mov eax, 0x98
call fcn.10006ad8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
call fcn.1005fc38
push ebp
lea edx, [ebp - 0xa0]
mov eax, 8
call fcn.100981c4
pop ecx
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.1000b114
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x4c]
add eax, 8
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0xa4]
mov edx, 0x1009993c
call fcn.10005dfc
mov eax, dword [ebp - 0xa4]
xor edx, edx
call fcn.100981a8
pop ecx
push ebp
lea edx, [ebp - 0xac]
mov eax, 7
call fcn.100981c4
pop ecx
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.1000b114
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x4c]
add eax, 0xc
call fcn.10005940
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0xc], 0
jne 0x10098824
mov eax, dword [ebp - 0x4c]
add eax, 0xc
mov edx, 0x1009995c
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0xb0]
mov edx, 0x10099978
call fcn.10005dfc
mov eax, dword [ebp - 0xb0]
xor edx, edx
call fcn.100981a8
pop ecx
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
mov edx, 0x100999a0
call fcn.1000af94
test al, al
jne 0x10098885
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
mov edx, 0x100999c8
call fcn.1000af94
test al, al
jne 0x10098885
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
mov edx, 0x100999e4
call fcn.1000af94
test al, al
je 0x1009888f
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x93], 1
push ebp
lea edx, [ebp - 0xb4]
mov eax, 9
call fcn.100981c4
pop ecx
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0x38]
call fcn.1000b114
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov edx, 0x10099a10
call fcn.10005dfc
push ebp
lea eax, [ebp - 0xb8]
mov ecx, dword [ebp - 0x38]
mov edx, 0x10099a6c
call fcn.10005dfc
mov eax, dword [ebp - 0xb8]
xor edx, edx
call fcn.100981a8
pop ecx
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [0x100aa64c]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.1005f42c
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x4c]
add eax, 0x54
call fcn.10005940
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x54], 0
jne 0x1009893f
push 0
lea eax, [ebp - 0xc0]
push eax
mov ecx, 0x10099a98
mov edx, dword [ebp - 0x38]
mov eax, 0x80000002
call fcn.10097f00
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x4c]
add eax, 0x54
call fcn.10005940
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x54]
call fcn.1000b114
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.1000abf0
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x4c]
add eax, 0x54
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x54]
lea eax, [ebp - 0xcc]
mov edx, 0x10099ac8
call fcn.10005dfc
mov eax, dword [ebp - 0xcc]
xor edx, edx
call fcn.100981a8
pop ecx
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x54]
call fcn.100984a0
test al, al
je 0x100989b9
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x54]
mov eax, 0x10099aec
call fcn.100063ec
dec eax
jne 0x100989c3
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x93], 1
push ebp
mov eax, dword [ebp - 0x4c]
lea edx, [eax + 0x68]
mov eax, 0x1b
call fcn.10098258
pop ecx
push ebp
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x68]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xd4]
call fcn.1000b774
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, 0x10099afc
call fcn.10005dfc
mov eax, dword [ebp - 0xd0]
xor edx, edx
call fcn.100981a8
pop ecx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x68], 0
je 0x10098a50
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax + 0x68]
test esi, 8
jne 0x10098a46
test esi, 0x20
jne 0x10098a46
test esi, 0x40
jne 0x10098a46
test esi, 0x1000
jne 0x10098a46
test esi, 0x2000
je 0x10098a50
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x93], 1
push ebp
lea edx, [ebp - 0xdc]
mov eax, 0xc
call fcn.100981c4
pop ecx
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xd8]
call fcn.1000b114
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x4c]
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
lea eax, [ebp - 0xe0]
mov edx, 0x10099b24
call fcn.10005dfc
mov eax, dword [ebp - 0xe0]
xor edx, edx
call fcn.100981a8
pop ecx
push ebp
lea edx, [ebp - 0xe8]
xor eax, eax
call fcn.100981c4
pop ecx
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
call fcn.1000b114
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x4c]
add eax, 4
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0xec]
mov edx, 0x10099b44
call fcn.10005dfc
mov eax, dword [ebp - 0xec]
xor edx, edx
call fcn.100981a8
pop ecx
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0
jne 0x10098b11
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 4]
call fcn.10005940
push ebp
lea edx, [ebp - 0xf4]
mov eax, 0xb
call fcn.100981c4
pop ecx
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xf0]
call fcn.1000b114
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x4c]
add eax, 0x18
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x18]
lea eax, [ebp - 0xf8]
mov edx, 0x10099b64
call fcn.10005dfc
mov eax, dword [ebp - 0xf8]
xor edx, edx
call fcn.100981a8
pop ecx
push ebp
lea edx, [ebp - 0x100]
mov eax, 0xd
call fcn.100981c4
pop ecx
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0xfc]
call fcn.1000b114
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x4c]
add eax, 0x50
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x50]
lea eax, [ebp - 0x104]
mov edx, 0x10099b88
call fcn.10005dfc
mov eax, dword [ebp - 0x104]
xor edx, edx
call fcn.100981a8
pop ecx
push ebp
mov eax, dword [ebp - 0x4c]
lea edx, [eax + 0x64]
mov eax, 0x19
call fcn.10098258
pop ecx
push ebp
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x64]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10c]
call fcn.1000b774
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
mov edx, 0x10099bb0
call fcn.10005dfc
mov eax, dword [ebp - 0x108]
xor edx, edx
call fcn.100981a8
pop ecx
push ebp
mov eax, dword [ebp - 0x4c]
lea edx, [eax + 0x6c]
mov eax, 0x1c
call fcn.10098258
pop ecx
push ebp
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x6c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x114]
call fcn.1000b774
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x110]
mov edx, 0x10099bd8
call fcn.10005dfc
mov eax, dword [ebp - 0x110]
xor edx, edx
call fcn.100981a8
pop ecx
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x74], edx
push ebp
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x74]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x11c]
call fcn.1000b774
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
mov edx, 0x10099bfc
call fcn.10005dfc
mov eax, dword [ebp - 0x118]
xor edx, edx
call fcn.100981a8
pop ecx
push ebp
lea edx, [ebp - 0x68]
mov eax, 0x22
call fcn.10098258
pop ecx
movzx eax, byte [ebp - 0x68]
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x7c], eax
push ebp
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x7c]
call fcn.1000b568
mov ecx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
mov edx, 0x10099c24
call fcn.10005dfc
mov eax, dword [ebp - 0x120]
xor edx, edx
call fcn.100981a8
pop ecx
push ebp
lea ecx, [ebp - 0x12c]
mov dx, 0x2c
mov eax, 2
call fcn.100982e0
pop ecx
mov eax, dword [ebp - 0x12c]
lea edx, [ebp - 0x128]
call fcn.1000b114
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x4c]
add eax, 0x5c
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x5c]
lea eax, [ebp - 0x130]
mov edx, 0x10099c4c
call fcn.10005dfc
mov eax, dword [ebp - 0x130]
xor edx, edx
call fcn.100981a8
pop ecx
push ebp
lea ecx, [ebp - 0x138]
mov dx, 0x2c
mov eax, 1
call fcn.100982e0
pop ecx
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.1000b114
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x4c]
add eax, 0x60
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x60]
lea eax, [ebp - 0x13c]
mov edx, 0x10099c70
call fcn.10005dfc
mov eax, dword [ebp - 0x13c]
xor edx, edx
call fcn.100981a8
pop ecx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x60], 0
jne 0x10098dba
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x93], 1
mov eax, dword [ebp - 0x4c]
add eax, 0x78
xor edx, edx
call fcn.10005940
push 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x74]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [0x100aa1a8]
mov eax, dword [eax]
call eax
mov ebx, eax
test ebx, ebx
jne 0x10098e2d
cmp dword [ebp - 0x58], 0
jbe 0x10098e2d
inc dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
call fcn.1000c87c
mov dword [ebp - 0x54], eax
push 0
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x74]
push eax
mov eax, dword [0x100aa11c]
mov eax, dword [eax]
call eax
mov ebx, eax
test ebx, ebx
jne 0x10098e25
mov eax, dword [ebp - 0x4c]
add eax, 0x78
mov edx, dword [ebp - 0x54]
call fcn.10005aec
mov eax, dword [ebp - 0x54]
call fcn.1000c8bc
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x78]
call fcn.1000abf0
mov edx, dword [ebp - 0x140]
mov eax, 0x10099c94
call fcn.100063ec
dec eax
jne 0x10098e5b
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x93], 1
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x78]
mov edx, 0x10099cac
call fcn.1000af94
test al, al
je 0x10098e79
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x91], 0
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x78]
lea eax, [ebp - 0x144]
mov edx, 0x10099ce0
call fcn.10005dfc
mov eax, dword [ebp - 0x144]
xor edx, edx
call fcn.100981a8
pop ecx
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 0x78]
mov ecx, 0
call fcn.10005b6c
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.100558f8
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x4c]
add eax, 0x94
call fcn.10005b44
push 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x74]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [0x100aa578]
mov eax, dword [eax]
call eax
mov ebx, eax
cmp ebx, 0xd
setne al
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x80], al
push ebp
lea ecx, [ebp - 0x154]
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x80]
mov dl, 1
call fcn.1000ba90
mov ecx, dword [ebp - 0x154]
lea eax, [ebp - 0x150]
mov edx, 0x10099d08
call fcn.10005dfc
mov eax, dword [ebp - 0x150]
xor edx, edx
call fcn.100981a8
pop ecx
push ebp
lea edx, [ebp - 0x64]
mov eax, 0xa
call fcn.10098258
pop ecx
test al, al
jne 0x10098f68
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 0x80], 0
jne 0x10098f68
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x93], 1
mov eax, dword [ebp - 0x64]
and eax, 0x20
cmp eax, 0x20
jne 0x10098f7d
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x8e], 1
push ebp
lea ecx, [ebp - 0x15c]
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x8e]
mov dl, 1
call fcn.1000ba90
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x158]
mov edx, 0x10099d30
call fcn.10005dfc
mov eax, dword [ebp - 0x158]
xor edx, edx
call fcn.100981a8
pop ecx
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [eax + 0x81], edx
test ebx, ebx
jne 0x10098fe3
mov eax, dword [ebp - 0x5c]
and eax, 0x400
cmp eax, 0x400
jne 0x10098fe3
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x60]
mov dword [eax + 0x81], edx
push ebp
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x81]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x164]
call fcn.1000b774
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x160]
mov edx, 0x10099d58
call fcn.10005dfc
mov eax, dword [ebp - 0x160]
xor edx, edx
call fcn.100981a8
pop ecx
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [0x100aa700]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.1005f42c
mov ecx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x4c]
add eax, 0x70
mov edx, dword [ebp - 0x3c]
call fcn.10005dfc
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x70]
mov edx, dword [ebp - 0x3c]
call fcn.100060cc
jne 0x1009909c
push 0
lea eax, [ebp - 0x170]
push eax
mov ecx, 0x10099d80
mov edx, dword [ebp - 0x38]
mov eax, 0x80000002
call fcn.10097f00
mov eax, dword [ebp - 0x170]
lea edx, [ebp - 0x16c]
call fcn.1000b114
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x4c]
add eax, 0x70
mov edx, dword [ebp - 0x3c]
call fcn.10005dfc
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x70]
lea eax, [ebp - 0x174]
mov edx, 0x10099d9c
call fcn.10005dfc
mov eax, dword [ebp - 0x174]
xor edx, edx
call fcn.100981a8
pop ecx
xor eax, eax
push ebp
push 0x10099102
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 0x70]
call fcn.10005994
mov eax, dword [ebp - 0x40]
call fcn.1000bc1c
test al, al
je 0x100990f8
mov eax, dword [0x100aa15c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x1009913c
lea eax, [ebp - 0x17c]
push eax
mov ecx, dword [0x100aa1d8]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.1005f42c
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x4c]
add eax, 0x20
call fcn.10005940
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x20], 0
jne 0x100991ab
push 0
lea eax, [ebp - 0x184]
push eax
mov ecx, 0x10099df0
mov edx, dword [ebp - 0x38]
mov eax, 0x80000002
call fcn.10097f00
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.1000b114
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x4c]
add eax, 0x20
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x20]
lea eax, [ebp - 0x188]
mov edx, 0x10099e14
call fcn.10005dfc
mov eax, dword [ebp - 0x188]
xor edx, edx
call fcn.100981a8
pop ecx
lea eax, [ebp - 0x18c]
push eax
mov ecx, dword [0x100aa180]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.1005f42c
mov edx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x4c]
add eax, 0x1c
call fcn.10005940
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x1c], 0
jne 0x1009923f
push 0
lea eax, [ebp - 0x194]
push eax
mov ecx, 0x10099e40
mov edx, dword [ebp - 0x38]
mov eax, 0x80000002
call fcn.10097f00
mov eax, dword [ebp - 0x194]
lea edx, [ebp - 0x190]
call fcn.1000b114
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x4c]
add eax, 0x1c
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x1c]
lea eax, [ebp - 0x198]
mov edx, 0x10099e68
call fcn.10005dfc
mov eax, dword [ebp - 0x198]
xor edx, edx
call fcn.100981a8
pop ecx
lea eax, [ebp - 0x19c]
push eax
mov ecx, dword [0x100aa274]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.1005f42c
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x4c]
add eax, 0x24
call fcn.10005940
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x24], 0
jne 0x100992d3
push 0
lea eax, [ebp - 0x1a4]
push eax
mov ecx, 0x10099e90
mov edx, dword [ebp - 0x38]
mov eax, 0x80000002
call fcn.10097f00
mov eax, dword [ebp - 0x1a4]
lea edx, [ebp - 0x1a0]
call fcn.1000b114
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x4c]
add eax, 0x24
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0x1a8]
mov edx, 0x10099eb8
call fcn.10005dfc
mov eax, dword [ebp - 0x1a8]
xor edx, edx
call fcn.100981a8
pop ecx
mov ecx, dword [0x100aa638]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.1005f49c
mov eax, dword [ebp - 0x4c]
fstp qword [eax + 0x28]
wait
mov eax, dword [ebp - 0x4c]
fld qword [eax + 0x28]
fcomp dword [0x10099ed4]
wait
fnstsw ax
sahf
jne 0x1009933b
mov ecx, 0x10099ee4
mov edx, dword [ebp - 0x38]
mov eax, 0x80000002
call fcn.10098394
mov eax, dword [ebp - 0x4c]
fstp qword [eax + 0x28]
wait
push ebp
mov eax, dword [ebp - 0x4c]
fld qword [eax + 0x28]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x1b0]
call fcn.1000dff4
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1ac]
mov edx, 0x10099f10
call fcn.10005dfc
mov eax, dword [ebp - 0x1ac]
xor edx, edx
call fcn.100981a8
pop ecx
mov ecx, dword [0x100aa2d8]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.1005f5dc
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x85], eax
mov ecx, dword [0x100aa0f4]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.1005f53c
mov eax, dword [ebp - 0x4c]
fstp qword [eax + 0x3c]
wait
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x24], 0
jne 0x100993c5
mov eax, dword [ebp - 0x4c]
fld qword [eax + 0x28]
fcomp dword [0x10099ed4]
wait
fnstsw ax
sahf
je 0x100993cf
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x92], 1
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 8], 0
jne 0x100993e8
mov eax, dword [ebp - 0x4c]
add eax, 8
mov edx, 0x10099f38
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x1b4]
mov edx, 0x10099f94
call fcn.10005dfc
mov eax, dword [ebp - 0x1b4]
xor edx, edx
call fcn.100981a8
pop ecx
xor eax, eax
push ebp
push 0x10099433
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
call fcn.1000ab08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x1009943d
push ebp
lea edx, [ebp - 0x1b8]
lea eax, [ebp - 0x10]
call fcn.10098440
pop ecx
mov edx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x4c]
add eax, 0x10
call fcn.10005940
push ebp
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x1bc]
mov edx, 0x10099fbc
call fcn.10005dfc
mov eax, dword [ebp - 0x1bc]
xor edx, edx
call fcn.100981a8
pop ecx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x10], 0
jne 0x1009949d
mov eax, dword [ebp - 0x4c]
add eax, 0x10
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 0xc]
call fcn.10005940
mov eax, dword [ebp - 0x4c]
add eax, 0x14
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [0x100aa1ac]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 0x80], 0
je 0x100994ec
xor edx, edx
xor eax, eax
call fcn.1005f7a0
push eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x78]
call fcn.100059cc
mov ecx, eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.1005e4f4
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x8f], al
push ebp
lea ecx, [ebp - 0x1c4]
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x8f]
mov dl, 1
call fcn.1000ba90
mov ecx, dword [ebp - 0x1c4]
lea eax, [ebp - 0x1c0]
mov edx, 0x10099fe4
call fcn.10005dfc
mov eax, dword [ebp - 0x1c0]
xor edx, edx
call fcn.100981a8
pop ecx
cmp byte [0x100aa068], 0
jne 0x10099643
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
mov edx, 0x1009a00c
call fcn.1000af94
test al, al
je 0x10099643
lea edx, [ebp - 0x1c8]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
call fcn.1000acb8
mov eax, dword [ebp - 0x1c8]
push eax
lea edx, [ebp - 0x1cc]
mov eax, dword [0x100aa330]
mov eax, dword [eax]
call fcn.1000acb8
mov eax, dword [ebp - 0x1cc]
pop edx
call fcn.100063ec
dec eax
je 0x1009963c
lea edx, [ebp - 0x1d0]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
call fcn.1000acb8
mov eax, dword [ebp - 0x1d0]
push eax
lea edx, [ebp - 0x1d4]
mov eax, dword [0x100aa330]
mov eax, dword [eax + 4]
call fcn.1000acb8
mov eax, dword [ebp - 0x1d4]
pop edx
call fcn.100063ec
dec eax
je 0x1009963c
lea edx, [ebp - 0x1d8]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
call fcn.1000acb8
mov eax, dword [ebp - 0x1d8]
push eax
lea edx, [ebp - 0x1dc]
mov eax, dword [0x100aa330]
mov eax, dword [eax + 8]
call fcn.1000acb8
mov eax, dword [ebp - 0x1dc]
pop edx
call fcn.100063ec
dec eax
je 0x1009963c
lea edx, [ebp - 0x1e0]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
call fcn.1000acb8
mov eax, dword [ebp - 0x1e0]
push eax
lea edx, [ebp - 0x1e4]
mov eax, dword [0x100aa330]
mov eax, dword [eax + 0xc]
call fcn.1000acb8
mov eax, dword [ebp - 0x1e4]
pop edx
call fcn.100063ec
dec eax
je 0x1009963c
xor eax, eax
jmp 0x1009963e
mov al, 1
mov byte [0x100aa068], al
cmp byte [0x100aa06c], 0
jne 0x1009969e
mov edx, 0x1009a00c
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
call fcn.1000af94
test al, al
je 0x1009969e
lea edx, [ebp - 0x1e8]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
call fcn.1000acb8
mov eax, dword [ebp - 0x1e8]
push eax
lea edx, [ebp - 0x1ec]
mov eax, dword [0x100aa460]
mov eax, dword [eax]
call fcn.1000acb8
mov eax, dword [ebp - 0x1ec]
pop edx
call fcn.100063ec
dec eax
sete byte [0x100aa06c]
mov edx, 0x1009a00c
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
call fcn.1000af94
test al, al
je 0x100996c8
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 0x80], 0
jne 0x100996c8
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x93], 1
cmp byte [ebp + 0xc], 0
je 0x100996ea
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 0x93], 0
je 0x100996ea
mov edx, dword [0x1005f6f4]
mov eax, dword [ebp - 0x4c]
call fcn.10006aec
jmp 0x100996fa
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, dword [ebp - 0x4c]
call fcn.1009a254
inc dword [ebp - 0x48]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x100aa3ec]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x10098710
push ebp
push 0x1009a028
call sub.kernel32.dll_GetLastError
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1f4]
call fcn.1000b774
push dword [ebp - 0x1f4]
push 0x100998b8
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x1f8]
call fcn.10010898
push dword [ebp - 0x1f8]
lea eax, [ebp - 0x1f0]
mov edx, 4
call fcn.10005ee0
mov eax, dword [ebp - 0x1f0]
mov dl, 1
call fcn.100981a8
pop ecx
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x100aa724]
mov eax, dword [eax]
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100997a5
call fcn.1005f2e8
push ebp
mov dl, 1
mov eax, 0x1009a058
call fcn.100981a8
pop ecx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100997f7
lea eax, [ebp - 0x1f8]
mov edx, 0x2b
call fcn.10005938
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.10004fe0
lea eax, [ebp - 0x144]
mov edx, 0x34
call fcn.10005938
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.10005938
ret