Function at 0x100319ee
Capabilities:
Connect pipe
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x84], 0xd52a2848
mov dword [ebp - 0x198], 0xdf860956
mov dword [ebp - 0x24c], 4
mov dword [ebp - 0x18], 0
jmp 0x10031a2f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10031a42
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x5c], 1
jmp 0x10031a28
mov dword [ebp - 0x18], 0
jmp 0x10031a52
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10031a68
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1e8], 0xc0d133f2
jmp 0x10031a4b
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x5c]
cmp dword [ebp + eax - 0x5c], ecx
je 0x10031a8a
mov dword [ebp - 0x1b4], 1
jmp 0x10031a91
and dword [ebp - 0x1b4], 0
mov dword [ebp - 0xa0], 5
mov eax, dword [ebp - 0xa0]
dec eax
jne 0x10031ac7
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5c], 0
jne 0x10031ac7
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5c], 0
jne 0x10031ac7
and dword [ebp - 0x100], 0
jmp 0x10031ad1
mov dword [ebp - 0x100], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5c]
sub eax, dword [ebp - 0x100]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x5c]
cmp eax, 8
ja 0x10031afc
mov dword [ebp - 0x1cc], 1
jmp 0x10031b03
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1cc]
add eax, 4
jne 0x10031b20
mov eax, 0x8112def9
test eax, eax
jne 0x10031b20
and dword [ebp - 0x98], 0
jmp 0x10031b2a
mov dword [ebp - 0x98], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x1e8], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x98]
sub ecx, dword [ebp + eax - 0x5c]
push 4
pop eax
shl eax, 0
cmp ecx, dword [ebp + eax - 0x5c]
jl 0x10031b65
mov dword [ebp - 0x1d4], 1
jmp 0x10031b6c
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 2
jle 0x10031b99
mov dword [ebp - 0xb8], 1
jmp 0x10031ba0
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0xffffffff
jl 0x10031bb5
mov dword [ebp - 0x244], 1
jmp 0x10031bbc
and dword [ebp - 0x244], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5c]
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x1b4], eax
jl 0x10031be6
mov dword [ebp - 0xc0], 1
jmp 0x10031bed
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0xdfe9
jge 0x10031c05
mov dword [ebp - 0x1bc], 1
jmp 0x10031c0c
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
shl eax, 3
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0xa0], 0x491d0b6b
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003221e
mov dword [ebp - 0x1c], 0xe229edca
mov dword [ebp - 0x4c], 0xd5fba252
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
jmp 0x10031c56
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x10031c69
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x3c], 0xdec9
jmp 0x10031c4f
mov dword [ebp - 4], 0
jmp 0x10031c79
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x10031c8f
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x304], 0xfffffffd
jmp 0x10031c72
mov dword [ebp - 4], 0
jmp 0x10031c9f
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x10031cb5
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x270], 0x46e9
jmp 0x10031c98
push 0xfffffffffffffff9
pop eax
test eax, eax
je 0x10031dc7
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x1c], 0xc657
jge 0x10031cde
mov dword [ebp - 0x1c4], 1
jmp 0x10031ce5
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c4], eax
jne 0x10031cfc
mov dword [ebp - 0xcc], 1
jmp 0x10031d03
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xcc], eax
jle 0x10031d1a
mov dword [ebp - 0x154], 1
jmp 0x10031d21
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 0x3d3b
jl 0x10031d39
mov dword [ebp - 0xd4], 1
jmp 0x10031d40
and dword [ebp - 0xd4], 0
imul eax, dword [ebp - 0xd4], 0xe7ad
cmp eax, dword [ebp - 0x1c]
je 0x10031d5b
mov dword [ebp - 0x194], 1
jmp 0x10031d62
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x194], eax
je 0x10031d79
mov dword [ebp - 0xdc], 1
jmp 0x10031d80
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xdc], eax
jge 0x10031d97
mov dword [ebp - 0x254], 1
jmp 0x10031d9e
and dword [ebp - 0x254], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x2a4], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0
je 0x10031dc7
mov dword [ebp - 0x15c], 1
jmp 0x10031dce
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 3
jb 0x10031de3
mov dword [ebp - 0xe4], 1
jmp 0x10031dea
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
sub eax, 0x5d9f20c7
cmp eax, 0xc1d99ea5
jbe 0x10031e0e
mov dword [ebp - 0x1b8], 1
jmp 0x10031e15
and dword [ebp - 0x1b8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1b8]
sub ecx, dword [ebp + eax - 0x3c]
push 4
pop eax
imul eax, eax, 0
imul ecx, dword [ebp + eax - 0x3c]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x3c]
jge 0x10031e48
mov dword [ebp - 0xec], 1
jmp 0x10031e4f
and dword [ebp - 0xec], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0xec], eax
jge 0x10031e6d
mov dword [ebp - 0x164], 1
jmp 0x10031e74
and dword [ebp - 0x164], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0x164], eax
jg 0x10031e92
mov dword [ebp - 0xf4], 1
jmp 0x10031e99
and dword [ebp - 0xf4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0xf4], eax
jl 0x10031eb7
mov dword [ebp - 0x1a0], 1
jmp 0x10031ebe
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 0xf30385d0
je 0x1003207c
mov dword [ebp - 0x238], 0x5cf455db
mov dword [ebp - 0x2ac], 0xc2657a77
mov dword [ebp - 0x264], 0x7b249e3c
mov dword [ebp - 0x1f0], 0x90538e0e
mov dword [ebp - 0x2b4], 0xaa9b2235
mov dword [ebp - 0x80], 0
jmp 0x10031f10
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 3
jge 0x10031f26
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x2f8], 0xc359
jmp 0x10031f09
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2cc], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x2f8], 0xd707
jle 0x10031f4d
mov dword [ebp - 0xfc], 1
jmp 0x10031f54
and dword [ebp - 0xfc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x270]
inc eax
mov dword [ebp - 0x8c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x270], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x304], ecx
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0x8c]
jl 0x10031fec
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x28c], eax
xor eax, eax
je 0x10031fc7
cmp dword [ebp - 0x4c], 0
je 0x10031fc7
mov dword [ebp - 0x16c], 1
jmp 0x10031fce
and dword [ebp - 0x16c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp eax, dword [ebp - 0x16c]
jl 0x10031fec
mov dword [ebp - 0x104], 1
jmp 0x10031ff3
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0xffffffff
ja 0x10032008
mov dword [ebp - 0x23c], 1
jmp 0x1003200f
and dword [ebp - 0x23c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2c], 0xbbb3
cmp dword [ebp - 0x2c], 0x2bd6
jge 0x10032041
cmp dword [ebp - 0x2c], 0
je 0x10032041
mov dword [ebp - 0x1c8], 1
jmp 0x10032048
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
neg eax
cmp eax, dword [ebp - 0x1f0]
jne 0x10032064
mov dword [ebp - 0x10c], 1
jmp 0x1003206b
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x238], eax
jmp 0x1003220f
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x2c], 0xffffffe8
jmp 0x10032096
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffff3
jge 0x1003220f
mov dword [ebp - 0x1c0], 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x260], 0xffffffff
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x124], 0
je 0x100320dd
xor eax, eax
je 0x100320dd
mov dword [ebp - 0x174], 1
jmp 0x100320e4
and dword [ebp - 0x174], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
imul ecx, dword [ebp - 0x174]
cmp dword [ebp + eax - 0x270], ecx
jle 0x10032109
mov dword [ebp - 0x208], 1
jmp 0x10032110
and dword [ebp - 0x208], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0xffff
jne 0x1003212c
mov dword [ebp - 0x114], 1
jmp 0x10032133
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x114], eax
jg 0x1003214a
mov dword [ebp - 0x1a8], 1
jmp 0x10032151
and dword [ebp - 0x1a8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp eax, dword [ebp - 0x1a8]
jg 0x1003216f
mov dword [ebp - 0x11c], 1
jmp 0x10032176
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 0xfffffff7
jae 0x1003218b
mov dword [ebp - 0x17c], 1
jmp 0x10032192
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x17c], eax
jg 0x100321ab
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x270], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x50]
add eax, 0x19d465f
je 0x100321d6
mov eax, 0x3bb8
test eax, eax
je 0x100321d6
mov dword [ebp - 0x12c], 1
jmp 0x100321dd
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x1c0]
cmp dword [ebp - 0x12c], eax
jl 0x100321f7
mov dword [ebp - 0x184], 1
jmp 0x100321fe
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x260], eax
jmp 0x1003208f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
jmp 0x10032dd9
mov dword [ebp - 0x48], 0xfe0a8eac
mov dword [ebp - 0x218], 0x4c90d297
mov dword [ebp - 0x298], 0xfffffff8
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x2d0], 0x790e8648
mov dword [ebp - 0x2a0], 0xffffffff
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x25c], 0x2038e85a
mov dword [ebp - 0x2a8], 9
mov dword [ebp - 0x2e4], 0xffffffff
mov dword [ebp - 0x240], 0x9fe5
mov dword [ebp - 0x2b0], 0xffffffff
mov dword [ebp - 0x2e8], 0x74e80031
mov dword [ebp - 0x40], 0xfffffff6
mov dword [ebp - 0x94], 0x68451f1e
mov dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0x210], 0x3132d683
mov dword [ebp - 0x228], 9
mov dword [ebp - 0x78], 0
jmp 0x100322e0
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 3
jge 0x100322f6
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x31c], 0x3588c556
jmp 0x100322d9
mov dword [ebp - 0x48], 0
jmp 0x10032306
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xd
jg 0x10032320
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1003231e
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
jmp 0x100322ff
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x9c], 0x3ca4d9a5
cmp dword [ebp - 0x9c], 0
jne 0x1003234e
cmp dword [ebp - 0x9c], 0
jne 0x1003234e
and dword [ebp - 0x134], 0
jmp 0x10032358
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x210]
cmp dword [ebp - 0x134], eax
jle 0x10032372
mov dword [ebp - 0x144], 1
jmp 0x10032379
and dword [ebp - 0x144], 0
xor eax, eax
inc eax
je 0x10032393
cmp dword [ebp - 0x240], 0
je 0x10032393
mov dword [ebp - 0x1b0], 1
jmp 0x1003239a
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1b0]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x13c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x13c]
mov dword [ebp + eax - 0x31c], ecx
cmp dword [ebp - 0x13c], 0xfff9
jne 0x100323d4
mov dword [ebp - 0x18c], 1
jmp 0x100323db
and dword [ebp - 0x18c], 0
cmp dword [ebp - 0x18c], 0
jne 0x100323f0
mov dword [ebp - 0x1d0], 1
jmp 0x100323f7
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x94]
add eax, dword [ebp - 0x144]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x1d0]
sub eax, dword [ebp - 0x218]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x258]
cmp eax, dword [ebp - 0x220]
je 0x10032442
mov dword [ebp - 0x248], 1
jmp 0x10032449
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x25c], 0
je 0x10032478
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x10032476
push 0
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringByteLen]
jmp 0x100324d4
mov dword [ebp - 0x40], 2
jmp 0x10032488
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffef
jge 0x100324d4
mov dword [ebp - 0x7c], 0x11
jmp 0x1003249e
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x14
jg 0x100324d2
mov dword [ebp - 0x64], 0
jmp 0x100324b4
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x13
jle 0x100324d0
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x100324ce
push 0
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
jmp 0x100324ad
jmp 0x10032497
jmp 0x10032481
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x90], 0xd8143836
mov dword [ebp - 0x24], 0x9b4af7bd
mov dword [ebp - 0x204], 0x5199242
mov dword [ebp - 0x74], 0
jmp 0x10032518
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 4
jge 0x1003252e
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x334], 0xffffffff
jmp 0x10032511
mov dword [ebp - 0xc], 0
jmp 0x1003253e
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x19
je 0x100328dc
mov dword [ebp - 0xa4], 2
mov dword [ebp - 0x88], 0x54dbbe5
mov dword [ebp - 0x20], 0xffff
mov dword [ebp - 0xa4], 0x81d2
cmp dword [ebp - 0xa4], 0xd94b
je 0x10032585
mov dword [ebp - 0xc8], 1
jmp 0x1003258c
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0x88], 0
jne 0x100325f6
cmp dword [ebp - 0x88], 0xb541
jle 0x100325ad
mov dword [ebp - 0x14c], 1
jmp 0x100325b4
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x90], eax
jne 0x100325d7
mov dword [ebp - 0x230], 1
jmp 0x100325de
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x20], 4
jbe 0x100325f6
and dword [ebp - 0xc4], 0
jmp 0x10032600
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0xc4]
imul eax, dword [ebp - 0xc]
cmp eax, 1
je 0x1003261e
mov dword [ebp - 0xd0], 1
jmp 0x10032625
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0xd0]
jne 0x1003263f
mov dword [ebp - 0xd8], 1
jmp 0x10032646
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xd8], eax
jne 0x1003265d
mov dword [ebp - 0xe0], 1
jmp 0x10032664
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0xe0], eax
jge 0x1003267b
mov dword [ebp - 0xe8], 1
jmp 0x10032682
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x20]
je 0x100326ac
cmp dword [ebp - 0xa4], 0
je 0x100326a7
jmp 0x100328dc
jmp 0x100328c3
mov dword [ebp - 0x138], 0x9f3c5a4a
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x6c], 0
jmp 0x100326d0
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jge 0x100326e6
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x200], 0x6709e149
jmp 0x100326c9
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x200]
cmp dword [ebp - 0xc], eax
jle 0x10032704
mov dword [ebp - 0xf0], 1
jmp 0x1003270b
and dword [ebp - 0xf0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x200]
cmp eax, dword [ebp - 0xf0]
jge 0x1003272c
mov dword [ebp - 0xf8], 1
jmp 0x10032733
and dword [ebp - 0xf8], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x200], 0
jne 0x1003275c
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x200], 0
jne 0x1003275c
and dword [ebp - 0x250], 0
jmp 0x10032766
mov dword [ebp - 0x250], 1
cmp dword [ebp - 0xf8], 0xffffffff
je 0x1003277b
mov dword [ebp - 0xb0], 1
jmp 0x10032782
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x20], 6
ja 0x100327a0
mov dword [ebp - 0x1ec], 1
jmp 0x100327a7
and dword [ebp - 0x1ec], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x200]
mov dword [ebp - 0x2e0], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x200]
inc eax
inc eax
cmp eax, dword [ebp - 0x204]
je 0x100327dc
mov dword [ebp - 0x20c], 1
jmp 0x100327e3
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x214], 0
je 0x10032801
mov dword [ebp - 0x108], 1
jmp 0x10032808
and dword [ebp - 0x108], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x200]
cmp eax, dword [ebp - 0x108]
jne 0x10032829
mov dword [ebp - 0x110], 1
jmp 0x10032830
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0xf559cde8
jb 0x10032848
mov dword [ebp - 0x118], 1
jmp 0x1003284f
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x118], eax
je 0x10032869
mov dword [ebp - 0x120], 1
jmp 0x10032870
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10032894
cmp dword [ebp - 0x90], 0
je 0x10032894
mov dword [ebp - 0x128], 1
jmp 0x1003289b
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 4
jle 0x100328b0
mov dword [ebp - 0x130], 1
jmp 0x100328b7
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x100328d7
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x10032537
mov dword [ebp - 0x24], 0
jmp 0x100328ec
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffff9
je 0x1003297d
mov dword [ebp - 0x290], 0xa8e4
mov dword [ebp - 0x294], 0x7b1d0057
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x54], 0
jmp 0x10032924
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x1003293a
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x324], 1
jmp 0x1003291d
mov dword [ebp - 0xc], 3
jmp 0x1003294a
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1003296b
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x10032969
push 0
push 0x25d9
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x10032943
mov eax, dword [ebp - 0x140]
dec eax
mov dword [ebp - 0x140], eax
jmp 0x100328e5
mov dword [ebp - 8], 0xfebaeef2
mov dword [ebp - 0x10], 0
jmp 0x10032994
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x100329aa
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1e4], 0x5711
jmp 0x1003298d
mov dword [ebp - 0x10], 0
jmp 0x100329ba
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x100329d0
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x310], 0x85ba5616
jmp 0x100329b3
mov dword [ebp - 8], 3
jmp 0x100329e0
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x10032bd5
mov dword [ebp - 0x60], 0
jmp 0x100329fa
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x10032a10
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x278], 0
jmp 0x100329f3
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x1e4], 0x9e923e64
jae 0x10032a2c
mov dword [ebp - 0x178], 1
jmp 0x10032a33
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x1e4], 0
je 0x10032b61
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x278], 0xfffffffd
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x1e4]
mov ecx, dword [ebp - 8]
add eax, dword [ebp + ecx*4 - 0x1e4]
cmp eax, dword [ebp - 8]
je 0x10032a7a
mov dword [ebp - 0x148], 1
jmp 0x10032a81
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
sub eax, 5
je 0x10032aa1
mov eax, 0x208a
test eax, eax
je 0x10032aa1
mov dword [ebp - 0x150], 1
jmp 0x10032aa8
and dword [ebp - 0x150], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x1e4]
cmp dword [ebp - 0x150], eax
jg 0x10032ac9
mov dword [ebp - 0x158], 1
jmp 0x10032ad0
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x1e4]
cmp dword [ebp - 0x158], eax
jge 0x10032afe
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x278], 0
je 0x10032afe
mov dword [ebp - 0x160], 1
jmp 0x10032b05
and dword [ebp - 0x160], 0
cmp dword [ebp - 0x160], 0xb689
jge 0x10032b1d
mov dword [ebp - 0x168], 1
jmp 0x10032b24
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x168]
sub ecx, dword [ebp + eax*4 - 0x1e4]
je 0x10032b3a
cmp dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x1e4]
push 4
pop ecx
shl ecx, 1
imul eax, dword [ebp + ecx - 0x1e4]
test eax, eax
je 0x10032b61
mov dword [ebp - 0x170], 1
jmp 0x10032b68
and dword [ebp - 0x170], 0
cmp dword [ebp - 0x170], 0x887
je 0x10032b80
mov dword [ebp - 0x180], 1
jmp 0x10032b87
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x178]
cmp eax, dword [ebp - 0x180]
jg 0x10032ba1
mov dword [ebp - 0x188], 1
jmp 0x10032ba8
and dword [ebp - 0x188], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x188]
mov dword [ebp + eax - 0x310], ecx
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x10032bd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
jmp 0x100329d9
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x70], 0xf3d37a5b
mov dword [ebp - 0x14], 0
jmp 0x10032bf8
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10032c0e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xac], 0xe0648261
jmp 0x10032bf1
mov dword [ebp - 0x14], 0
jmp 0x10032c1e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x10032c34
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x288], 0x6df37d45
jmp 0x10032c17
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xac], 0
jmp 0x10032c62
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xac], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xac], 0xffffffe3
jge 0x10032cbf
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x44], 3
jmp 0x10032c89
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x10032cb7
mov dword [ebp - 0x68], 0x7e4fc22
mov dword [ebp - 0x68], 3
jmp 0x10032ca6
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x10032cb5
mov dword [ebp - 0x70], 0xffffffff
jmp 0x10032c9f
jmp 0x10032c82
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x70], eax
jmp 0x10032c47
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x70]
cmp dword [ebp + eax - 0x288], ecx
jle 0x10032cdd
mov dword [ebp - 0x190], 1
jmp 0x10032ce4
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0x55145ccb
jg 0x10032cfc
mov dword [ebp - 0x1ac], 1
jmp 0x10032d03
and dword [ebp - 0x1ac], 0
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x288]
cmp dword [ebp + eax - 0x288], ecx
jle 0x10032d2b
mov dword [ebp - 0x19c], 1
jmp 0x10032d32
and dword [ebp - 0x19c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xac]
add eax, dword [ebp - 0x19c]
cmp eax, dword [ebp - 0x70]
jne 0x10032d56
mov dword [ebp - 0x1a4], 1
jmp 0x10032d5d
and dword [ebp - 0x1a4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x288]
cmp dword [ebp - 0x1a4], eax
jl 0x10032d7d
mov dword [ebp - 0xb4], 1
jmp 0x10032d84
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x1ac]
cmp eax, dword [ebp - 0xb4]
je 0x10032d9e
mov dword [ebp - 0xbc], 1
jmp 0x10032da5
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xbc]
mov dword [ebp + eax - 0xac], ecx
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x234]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret