Function at 0x10029b34
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002a831
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x38], 0x720e83c7
mov dword [ebp - 0x58], 0
jmp 0x10029b66
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x10029b7c
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x1d8], 0x31e42a43
jmp 0x10029b5f
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x38], 1
jmp 0x10029b92
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x10029bae
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x10029bac
push 0
call fcn.1002a8ca
pop ecx
jmp 0x10029b8b
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0xc], eax
and dword [ebp - 0x6c], 0
jmp 0x10029bd9
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x6c], eax
jge 0x1002a82f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x10029c04
mov dword [ebp - 0x84], 1
jmp 0x10029c0b
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x10029c30
mov dword [ebp - 0x118], 1
jmp 0x10029c37
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x10029c59
mov dword [ebp - 0x7c], 1
jmp 0x10029c5d
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x10029c7d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10029c93
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x18c], 0xec2e0cf5
jmp 0x10029c76
mov dword [ebp - 0x10], 0
jmp 0x10029ca3
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10029cb9
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1a0], 0xb07fb07d
jmp 0x10029c9c
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x21]
push eax
push 0x2297
push 0x52e4
push 0
call fcn.100302d7
add esp, 0x10
mov dword [ebp - 0x2c], 2
jmp 0x10029ce5
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x10029f95
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x124], 0xe8cc1958
mov eax, dword [ebp - 0x2c]
cmp dword [ebp + eax*4 - 0x18c], 0
je 0x10029f65
mov dword [ebp - 0xdc], 0xcb4c23af
mov dword [ebp - 0xd8], 0xcb4c23af
mov dword [ebp - 0xd4], 0xcb4c23af
mov dword [ebp - 0xd0], 0xcb4c23af
mov dword [ebp - 0x18], 0xf5af8b51
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ebp + ecx*4 - 0x18c]
cmp dword [ebp + eax - 0xdc], ecx
je 0x10029d67
mov dword [ebp - 0x120], 1
jmp 0x10029d6e
and dword [ebp - 0x120], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x120]
mov dword [ebp + eax - 0x18c], ecx
mov dword [ebp - 0x18], 2
jmp 0x10029d91
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10029f63
mov dword [ebp - 0x90], 0xac7eb236
or eax, 0xffffffff
je 0x10029dc5
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xdc], 0
je 0x10029dc5
mov dword [ebp - 0x128], 1
jmp 0x10029dcc
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 4
jle 0x10029de1
mov dword [ebp - 0x88], 1
jmp 0x10029de8
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0x88]
neg eax
mov dword [ebp - 0x104], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x104]
mov dword [ebp + eax - 0x1a0], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xd8]
add eax, dword [ebp - 0x104]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x3a79cc09
jge 0x10029e3d
mov dword [ebp - 0xe4], 1
jmp 0x10029e44
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xd8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x18c], ecx
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x124]
cmp eax, 0x5ca2
jne 0x10029e8f
mov dword [ebp - 0xec], 1
jmp 0x10029e96
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0xec], eax
jne 0x10029eb0
mov dword [ebp - 0xa8], 1
jmp 0x10029eb7
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xd8]
cmp dword [ebp - 0xa8], eax
jg 0x10029ed5
mov dword [ebp - 0x10c], 1
jmp 0x10029edc
and dword [ebp - 0x10c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x10c], eax
jge 0x10029efd
mov dword [ebp - 0xb0], 1
jmp 0x10029f04
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xb0], eax
jg 0x10029f1b
mov dword [ebp - 0xf4], 1
jmp 0x10029f22
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
sub eax, 0x39dff2bc
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ebp + ecx*4 - 0xd8]
jne 0x10029f45
mov dword [ebp - 0xb8], 1
jmp 0x10029f4c
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xb8]
mov dword [ebp + eax - 0xdc], ecx
jmp 0x10029d8a
jmp 0x10029f90
mov byte [ebp - 0x25], 0
push 0x4d5e
push 0x22f2
lea eax, [ebp - 0x25]
push eax
push 0x10e7
push 0x3a91
push 1
push 0x57ca
call fcn.1002956f
add esp, 0x1c
jmp 0x10029cde
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1002a046
push 0x4000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x10]
mov eax, dword [ebp - 0xc]
push dword [eax + 8]
push 0xb477
push 0xe18f
call fcn.1002535b
pop ecx
pop ecx
call eax
mov dword [ebp - 0x12c], 0xfffffffc
mov dword [ebp - 0x140], 0x860ec01e
mov dword [ebp - 0x50], 0
jmp 0x10029fee
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x1002a004
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x1e4], 0
jmp 0x10029fe7
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1002a024
push 0
push 0x601d
push 0x54a9
call fcn.1002b905
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x140]
push eax
push 1
push 0x1f3e
call fcn.1002976c
add esp, 0x10
jmp 0x10029bc9
mov dword [ebp - 8], 0xffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x180], 0x12535b5b
cmp dword [ebp - 8], 0
je 0x1002a127
mov dword [ebp - 0x68], 0
jmp 0x1002a078
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x1002a08e
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x1ac], 0
jmp 0x1002a071
mov dword [ebp - 8], 0xfffffffa
jmp 0x1002a09e
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x38
jg 0x1002a122
mov dword [ebp - 0x60], 0x50e6da50
mov dword [ebp - 0x60], 1
jmp 0x1002a0bb
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x1002a11d
mov dword [ebp - 0x48], 0xfffffff6
mov dword [ebp - 0x48], 1
jmp 0x1002a0d8
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1002a11b
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp + eax*4 - 0x1ac]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 0
jmp 0x1002a0fb
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xf
jl 0x1002a119
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1002a117
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x1002a0f4
jmp 0x1002a0d1
jmp 0x1002a0b4
jmp 0x1002a097
jmp 0x1002a1b5
mov dword [ebp - 0x174], 0xfffffff9
mov dword [ebp - 0x138], 0x5879a273
mov dword [ebp - 8], 0
jmp 0x1002a14b
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xf
jg 0x1002a1a4
mov dword [ebp - 0x17c], 0xefa025ec
mov dword [ebp - 0x16c], 0x2506ed55
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x138]
push eax
push 0x1b1a
push 0x2e6a
push 0x766f
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.10029826
add esp, 0x28
jmp 0x1002a144
mov byte [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.1002c53c
pop ecx
pop ecx
push 0x76ee
push 0x74d7
push 0x774f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x34]
push eax
push 1
push 0x5820
push 0xcb2
push 0x5738
call fcn.10029826
add esp, 0x28
push dword [ebp - 0xc]
lea eax, [ebp - 0x144]
push eax
push 1
push dword [ebp - 0x148]
push dword [ebp - 0x168]
push dword [ebp - 0x150]
call fcn.100289ee
add esp, 0x18
mov dword [ebp - 0x190], 0x8261f9c2
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x22]
push eax
push 1
call fcn.100299d8
pop ecx
pop ecx
mov byte [ebp - 0x23], 0
lea eax, [ebp - 0x23]
push eax
push 0
call fcn.10029ab4
pop ecx
pop ecx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10029a40
add esp, 0x10
cmp dword [ebp - 0x78], 0
jbe 0x1002a82a
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x14], 0x41a59c3c
mov dword [ebp - 0x158], 0xfffffffc
mov dword [ebp - 0x5c], 0
jmp 0x1002a286
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jge 0x1002a299
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 4], 0x8c007c7b
jmp 0x1002a27f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
mov dword [ebp - 0x1d0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
mov dword [ebp - 0x1c4], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 4]
cmp dword [ebp + eax - 4], ecx
jg 0x1002a2db
mov dword [ebp - 0x11c], 1
jmp 0x1002a2e2
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp eax, dword [ebp - 0x11c]
je 0x1002a300
mov dword [ebp - 0xc0], 1
jmp 0x1002a307
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0xc0], eax
je 0x1002a325
mov dword [ebp - 0xfc], 1
jmp 0x1002a32c
and dword [ebp - 0xfc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0xfc], eax
jle 0x1002a34a
mov dword [ebp - 0xc8], 1
jmp 0x1002a351
and dword [ebp - 0xc8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0xc8], eax
jne 0x1002a371
or eax, 0xffffffff
jne 0x1002a371
and dword [ebp - 0x114], 0
jmp 0x1002a37b
mov dword [ebp - 0x114], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x114], eax
jl 0x1002a38f
mov dword [ebp - 0x80], 1
jmp 0x1002a393
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0xed4b
jg 0x1002a3a5
mov dword [ebp - 0x70], 1
jmp 0x1002a3a9
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0x70], eax
jle 0x1002a3c4
mov dword [ebp - 0x8c], 1
jmp 0x1002a3cb
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
sub eax, 0x1543
cmp eax, 0x75dfcc9f
je 0x1002a3e9
mov dword [ebp - 0x94], 1
jmp 0x1002a3f0
and dword [ebp - 0x94], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp eax, dword [ebp - 0x94]
jg 0x1002a414
mov eax, 0x1704
test eax, eax
jne 0x1002a414
and dword [ebp - 0x9c], 0
jmp 0x1002a41e
mov dword [ebp - 0x9c], 1
cmp dword [ebp - 0x9c], 0xff44cacf
jne 0x1002a436
mov dword [ebp - 0xa4], 1
jmp 0x1002a43d
and dword [ebp - 0xa4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0xa4], eax
jg 0x1002a45b
mov dword [ebp - 0xac], 1
jmp 0x1002a462
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0
je 0x1002a477
mov dword [ebp - 0xb4], 1
jmp 0x1002a47e
and dword [ebp - 0xb4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
mov ecx, dword [ebp - 0xb4]
lea eax, [ecx + eax + 0x49ac]
cmp eax, 1
jl 0x1002a4a6
mov dword [ebp - 0xbc], 1
jmp 0x1002a4ad
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 9
cmp eax, dword [ebp - 0x1c]
jl 0x1002a4cd
mov dword [ebp - 0xc4], 1
jmp 0x1002a4d4
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc4], eax
jge 0x1002a4eb
mov dword [ebp - 0xcc], 1
jmp 0x1002a4f2
and dword [ebp - 0xcc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xcc]
sub ecx, dword [ebp + eax - 4]
je 0x1002a51f
cmp dword [ebp - 0x14], 0
je 0x1002a51f
mov eax, 0xfe1602a0
test eax, eax
je 0x1002a51f
mov dword [ebp - 0x178], 1
jmp 0x1002a526
and dword [ebp - 0x178], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
mov dword [ebp - 0x198], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
mov dword [ebp - 0x1c0], eax
xor eax, eax
inc eax
je 0x1002a661
mov dword [ebp - 0x3c], 0x1ed5297f
mov dword [ebp - 0x1c], 0
jmp 0x1002a566
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xf
jge 0x1002a65c
mov dword [ebp - 0x40], 0xe38b13f4
cmp dword [ebp - 0x3c], 0
je 0x1002a582
jmp 0x1002a65c
mov dword [ebp - 0x14], 5
jmp 0x1002a592
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1a
jg 0x1002a657
mov dword [ebp - 0x44], 0xc924dfb4
lea eax, [ebp - 0x3c]
push eax
push 0x6638
lea eax, [ebp - 0x44]
push eax
push 0x1523
push 0x164d
push 0x51be
lea eax, [ebp - 0x40]
push eax
push 0x611
push 0
call fcn.100303ba
add esp, 0x24
mov dword [ebp - 0x3c], 0
jmp 0x1002a5e2
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x1002a652
mov dword [ebp - 0x40], 0
jmp 0x1002a5f8
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jg 0x1002a650
mov dword [ebp - 0x44], 0
jmp 0x1002a60e
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x1002a64e
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1002a632
push 0x1781
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1002a64c
push 0x74f5
push 1
call fcn.10029ab4
pop ecx
pop ecx
jmp 0x1002a607
jmp 0x1002a5f1
jmp 0x1002a5db
jmp 0x1002a58b
jmp 0x1002a55f
jmp 0x1002a801
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x100], 1
mov dword [ebp - 0x160], 0xcbed49f2
mov dword [ebp - 0x13c], 0xdf8bb411
mov dword [ebp - 0x64], 0
jmp 0x1002a696
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x1002a6ac
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x1b8], 0xf956
jmp 0x1002a68f
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x14], 0x475f
jne 0x1002a6cd
mov dword [ebp - 0xe0], 1
jmp 0x1002a6d4
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xe0], eax
jge 0x1002a6eb
mov dword [ebp - 0x170], 1
jmp 0x1002a6f2
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1b0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0x4c], eax
jge 0x1002a71f
mov dword [ebp - 0xe8], 1
jmp 0x1002a726
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0xfffa
jb 0x1002a73e
mov dword [ebp - 0xf0], 1
jmp 0x1002a745
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0
jne 0x1002a75d
cmp dword [ebp - 0x4c], 0
jne 0x1002a75d
and dword [ebp - 0xf8], 0
jmp 0x1002a767
mov dword [ebp - 0xf8], 1
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1bc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1b8], 0
jne 0x1002a7a6
or eax, 0xffffffff
jne 0x1002a7a6
and dword [ebp - 0x108], 0
jmp 0x1002a7b0
mov dword [ebp - 0x108], 1
imul eax, dword [ebp - 0x108], 0xffffffff
cmp dword [ebp - 0x14], eax
je 0x1002a7c8
mov dword [ebp - 0x110], 1
jmp 0x1002a7cf
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0x19277ef9
je 0x1002a7e4
mov dword [ebp - 0x74], 1
jmp 0x1002a7e8
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x13c]
push eax
push 0
call fcn.1002aad0
pop ecx
pop ecx
lea eax, [ebp - 0x194]
push eax
push dword [ebp - 0x144]
push dword [ebp - 0x78]
mov eax, dword [ebp - 0xc]
push dword [eax + 8]
push 0xb477
push 0xf097
call fcn.1002535b
pop ecx
pop ecx
call eax
jmp 0x10029bc9
jmp 0x1002a888
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x130]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x134]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret