Function at 0x10035270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9704
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x100d5688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100353cc
push 4
push str.FILE
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], al
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.1000c680
mov byte [ebp - 4], 1
call fcn.1005dde0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x2b
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10009a70
mov esi, eax
push str.Recv_WM_CLOSE
push esi
mov byte [ebp - 4], 2
call fcn.100092f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.1000a930
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1003537f
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035375
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035624
push edx
push ecx
call fcn.1005eced
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x100353cc
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100353c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035629
push edx
push ecx
call fcn.1005eced
add esp, 8
call fcn.100079d0
mov ecx, eax
test ecx, ecx
je 0x1003562e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x98], 0
push eax
mov dword [ebp - 0x4c], 0x360033
mov dword [ebp - 0x48], 0x740030
mov dword [ebp - 0x44], 0x610072
mov dword [ebp - 0x40], 0x2e0079
mov dword [ebp - 0x3c], 0x780065
mov dword [ebp - 0x38], 0x65
call fcn.100298c0
mov esi, eax
mov dword [ebp - 0x98], 0
lea eax, [ebp - 0x98]
mov dword [ebp - 0x60], 0x360033
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x5c], 0x730030
push eax
mov dword [ebp - 0x58], 0x2e0064
mov dword [ebp - 0x54], 0x780065
mov dword [ebp - 0x50], 0x65
call fcn.100298c0
add esp, 0x10
test esi, esi
jne 0x100354a6
test eax, eax
jne 0x100354a6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
push eax
lea eax, [ebp - 0x9c]
push str._d_debrab_o_close
push eax
call fcn.100078e0
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x20], 1
jmp 0x100355cc
xor eax, eax
mov dword [ebp - 0x34], 0x730049
mov dword [ebp - 0x30], 0x360033
mov dword [ebp - 0x2c], 0x530030
mov dword [ebp - 0x28], 0x660061
mov dword [ebp - 0x24], 0x520065
mov dword [ebp - 0x20], 0x6e0075
mov dword [ebp - 0x1c], 0x69006e
mov dword [ebp - 0x18], 0x67006e
mov word [ebp - 0x14], ax
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100355aa
push 4
push str.FILE
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], al
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
call fcn.1000c680
mov byte [ebp - 4], 5
call fcn.1005dde0
mov edi, eax
lea ecx, [ebp - 0x1cc]
push 0x31
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10009a70
mov esi, eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 6
push eax
push esi
call fcn.100092f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1cc]
call fcn.1000a930
lea ecx, [ebp - 0x7c]
call fcn.100074f0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.100074f0
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
push eax
lea eax, [ebp - 0x9c]
push str._d_debrab_z_close
push eax
call fcn.100078e0
add esp, 0xc
call fcn.10012750
mov esi, dword [ebp - 0x9c]
push 1
push 0
mov ecx, dword [eax]
push esi
push 0x100aee70
push eax
call dword [ecx]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10035608
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f06c
mov esp, ebp
pop ebp
ret
call fcn.10082829
call fcn.10082829
push 0x80004005
call fcn.10007660
int3