Function at 0x10035267
Capabilities:
Get file size
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100666d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x194
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x40]
test eax, eax
je 0x10035add
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa0], 0x249d
mov dword [ebp - 0x10c], str.gkyflwsj_ijxtlqy_gvzshycax_lpqtysqwk_pazexhpwl_mqqd
cmp dword [ebp - 0xa0], 0x2808
jle 0x100353a0
and dword [ebp - 0x4c], 0
jmp 0x100352e4
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xedb
jge 0x100353a0
and dword [ebp - 0x24], 0
jmp 0x100352fe
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x41c9
jge 0x1003539b
and dword [ebp - 0x54], 0
jmp 0x10035318
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x7b21
jge 0x10035396
and dword [ebp - 0x3c], 0
jmp 0x1003532e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x29e1
jge 0x10035391
mov ecx, dword [ebp - 0x54]
imul ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
shl eax, cl
or eax, dword [ebp - 0x4c]
cdq
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], edx
push dword [ebp - 0x138]
push dword [ebp - 0x13c]
lea ecx, [ebp - 0x18c]
call fcn.10001301
pop ecx
pop ecx
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
call fcn.100014b2
push eax
call fcn.1004c2d0
pop ecx
lea ecx, [ebp - 0x18c]
call fcn.100014a8
jmp 0x10035327
jmp 0x10035311
jmp 0x100352f7
jmp 0x100352dd
lea eax, [ebp + 0x14]
mov dword [ebp - 0xbc], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0xa0], 0x2487
jge 0x100353c5
push dword [ebp - 0x10c]
call fcn.1004c2d0
pop ecx
jmp 0x100353e1
or dword [ebp - 4], 0xffffffff
jmp 0x100353eb
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x70], 0x583d
mov dword [ebp - 0x140], str.priw_dyotamddf_nqjgojkv_opbmw_hdd
cmp dword [ebp - 0x70], 0x5bd1
jle 0x1003550b
and dword [ebp - 0x2c], 0
jmp 0x10035455
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3656
jge 0x1003550b
and dword [ebp - 0x44], 0
jmp 0x1003546f
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x99d
jge 0x10035506
and dword [ebp - 0x34], 0
jmp 0x10035489
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xb34
jge 0x10035501
and dword [ebp - 0x18], 0
jmp 0x1003549f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5bd5
jge 0x100354ff
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x44]
and eax, dword [ebp - 0x34]
and eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], edx
push dword [ebp - 0x144]
push dword [ebp - 0x148]
lea ecx, [ebp - 0x1a4]
call fcn.10001301
pop ecx
pop ecx
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
call fcn.100014b2
push eax
call fcn.1004c2d0
pop ecx
lea ecx, [ebp - 0x1a4]
call fcn.100014a8
jmp 0x10035498
jmp 0x10035482
jmp 0x10035468
jmp 0x1003544e
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xec], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x70], 0x5772
jge 0x10035530
push dword [ebp - 0x140]
call fcn.1004c2d0
pop ecx
jmp 0x1003554c
or dword [ebp - 4], 0xffffffff
jmp 0x10035556
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x100356ac
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x98], 0xd0b
mov dword [ebp - 0x14c], str.oqhtuzj_uog_ptl
cmp dword [ebp - 0x98], 0x10e4
jle 0x1003562d
push 0x1400
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and dword [ebp - 0x1c], 0
jmp 0x100355c4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5767
jge 0x1003562d
and dword [ebp - 0x20], 0
jmp 0x100355da
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3702
jge 0x1003562b
and dword [ebp - 0x28], 0
jmp 0x100355f0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x14a8
jge 0x10035629
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
shl eax, cl
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], edx
push dword [ebp - 0x150]
push dword [ebp - 0x154]
mov ecx, 0x10081dd8
call fcn.1000c947
jmp 0x100355e9
jmp 0x100355d3
jmp 0x100355bd
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
push dword [eax]
mov ecx, dword [ebp - 0xd4]
call fcn.1000155c
mov dword [eax], 0x6a162c9c
mov dword [ebp - 4], 4
cmp dword [ebp - 0x98], 0xcaf
jge 0x10035681
mov edx, dword [ebp - 0x14c]
mov ecx, 0x10081dd8
call fcn.1000fdbf
jmp 0x1003569d
or dword [ebp - 4], 0xffffffff
jmp 0x100356a7
jmp 0x10035adb
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xa4], 0x35fa
mov dword [ebp - 0x120], str.wrdmhx_oqzskcz_fpstbpxx_kfrj
cmp dword [ebp - 0xa4], 0x38be
jle 0x1003579d
and dword [ebp - 0x30], 0
jmp 0x10035751
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x484e
jge 0x1003579d
and dword [ebp - 0x38], 0
jmp 0x10035767
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x4e17
jge 0x1003579b
mov eax, dword [ebp - 0x30]
and eax, dword [ebp - 0x38]
cdq
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], edx
push dword [ebp - 0x15c]
push dword [ebp - 0x160]
mov ecx, 0x10081dd8
call fcn.1000c947
jmp 0x10035760
jmp 0x1003574a
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x78], 0x77e
mov dword [ebp - 0xd0], str.vmsoaztvp_kndaeihfb_dld_xtgktrkci
cmp dword [ebp - 0x78], 0x96e
jle 0x1003589b
and dword [ebp - 0x58], 0
jmp 0x1003580a
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x13bc
jge 0x10035891
and dword [ebp - 0x40], 0
jmp 0x10035820
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x3aab
jge 0x1003588c
and dword [ebp - 0x48], 0
jmp 0x10035836
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x26bd
jge 0x1003588a
and dword [ebp - 0x50], 0
jmp 0x1003584c
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x1dda
jge 0x10035888
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x50]
and eax, dword [ebp - 0x58]
cdq
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], edx
push dword [ebp - 0x168]
push dword [ebp - 0x16c]
mov ecx, 0x10081dd8
call fcn.1000c947
jmp 0x10035845
jmp 0x1003582f
jmp 0x10035819
jmp 0x10035803
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x90], eax
mov dword [ebp - 4], 6
cmp dword [ebp - 0x78], 0x5d8
jge 0x100358c7
mov edx, dword [ebp - 0xd0]
mov ecx, 0x10081dd8
call fcn.1000fdbf
jmp 0x100358e3
or dword [ebp - 4], 0xffffffff
jmp 0x100358ed
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xe0ea
jge 0x10035925
mov dword [ebp - 0x80], 1
jmp 0x10035929
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xf0]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x80]
jle 0x10035957
mov eax, dword [ebp - 0x64]
cmp dword [eax], 0
je 0x10035957
mov dword [ebp - 0x5c], 1
jmp 0x1003595b
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
cmp dword [ebp - 0x5c], 0xb2235412
jae 0x10035978
mov dword [ebp - 0x60], 1
jmp 0x1003597c
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x60]
jg 0x1003599a
mov dword [ebp - 0x68], 1
jmp 0x1003599e
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
cmp dword [ebp - 0x68], eax
jle 0x100359b1
mov dword [ebp - 0x6c], 1
jmp 0x100359b5
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
imul eax, dword [ebp - 0x6c]
test eax, eax
jne 0x100359e0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x100359e0
and dword [ebp - 0x74], 0
jmp 0x100359e7
mov dword [ebp - 0x74], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x74]
jl 0x100359fa
mov dword [ebp - 0x7c], 1
jmp 0x100359fe
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
cmp dword [ebp - 0x7c], eax
jge 0x10035a17
mov dword [ebp - 0x84], 1
jmp 0x10035a1e
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x84]
sub edx, dword [ecx]
cmp edx, dword [eax]
jle 0x10035a3f
mov dword [ebp - 0x8c], 1
jmp 0x10035a46
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0x2d1f
je 0x10035a5e
mov dword [ebp - 0x94], 1
jmp 0x10035a65
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0xb681
jge 0x10035a7d
mov dword [ebp - 0x9c], 1
jmp 0x10035a84
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x9c]
mov dword [eax], ecx
mov dword [ebp - 4], 8
cmp dword [ebp - 0xa4], 0x3596
jge 0x10035ab5
mov edx, dword [ebp - 0x120]
mov ecx, 0x10081dd8
call fcn.1000fdbf
jmp 0x10035ad1
or dword [ebp - 4], 0xffffffff
jmp 0x10035adb
jmp 0x10035b0f
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x130], eax
push dword [ebp - 0x128]
push 0x615b
push 0
push 0x3a16
push dword [ebp - 0x130]
call fcn.100318cd
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret