Function at 0x10039c0b
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004bf31
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1064
call fcn.1004a6d0
mov eax, dword [0x10057940]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x105c], eax
xor esi, esi
mov dword [ebp - 0x1058], esi
test byte [0x10116d14], 4
jne 0x10039d1a
cmp dword [0x101143f4], esi
je 0x10039cf9
push 0x1000a2c0
push dword [0x10116d20]
call fcn.10011965
push 0x1000a2b8
push dword [0x10116d20]
call fcn.10011965
push 0x10115090
push 0x1000a298
push 0x20000
mov ebx, 0x10058a80
push ebx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
push ebx
push dword [0x10116d20]
call fcn.10011965
push 0x1000a290
push dword [0x10116d20]
call fcn.10011965
push 0x1000a288
push dword [0x10116d20]
call fcn.10011965
push 0x1000a26c
push dword [0x10116d20]
call fcn.10011965
push 0x1000a264
push dword [0x10116d20]
call fcn.10011965
jmp 0x10039d13
cmp dword [0x101143f0], esi
je 0x10039d0e
push 1
push dword [0x10116d20]
call fcn.1002cb21
mov ebx, 0x10058a80
call fcn.1002c952
jmp 0x10039d1f
mov ebx, 0x10058a80
push 0x2e
push 0x10115090
call dword [sym.imp.MSVCR100.dll_strrchr]
pop ecx
pop ecx
cmp eax, esi
je 0x10039d7d
lea esi, [eax + 1]
push 0x1000a0f8
push esi
mov edi, dword [sym.imp.MSVCR100.dll__stricmp]
call edi
pop ecx
pop ecx
test eax, eax
je 0x10039d57
push 0x1000a0f4
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x10039d7d
test byte [0x10116d14], 4
jne 0x10039d76
push dword [0x10116d20]
push dword [0x10116098]
push 0x10115090
call fcn.100398f6
xor eax, eax
jmp 0x1003ac75
cmp dword [0x10115084], 0
jne 0x1003a05d
push 0x40
call fcn.10042e16
pop ecx
mov dword [ebp - 0x1054], eax
and dword [ebp - 4], 0
test eax, eax
je 0x10039da9
mov ecx, eax
call fcn.1001b50a
jmp 0x10039dab
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [0x10115084], eax
test eax, eax
jne 0x10039dc7
push 0xfde9
push 0x191
jmp 0x1003ac5e
push 0x1000
push 0
mov esi, 0x10129bd0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x800
push esi
push 0xffffffffffffffff
push dword [ebp - 0x105c]
push 0
mov edi, 0xfde9
push edi
call dword [fcn.10001120]
push 0x1800
push 0
push 0x101283d0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
push eax
push eax
push 0x1800
push 0x101283d0
push 0xffffffffffffffff
push esi
push eax
push dword [0x10116d2c]
call dword [fcn.10001124]
push esi
mov ecx, dword [0x10115084]
call fcn.1001b6a5
mov dword [ebp - 0x1058], eax
test eax, eax
jne 0x10039ea6
push dword [ebp - 0x105c]
push edi
push 0x192
call fcn.10026985
push eax
push 0x20000
push ebx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
push ebx
push dword [0x10116d20]
call fcn.1001277e
mov dword [ebp - 4], 1
mov ecx, dword [0x10115084]
mov esi, ecx
test ecx, ecx
je 0x10039e8c
call fcn.1001b693
push esi
call fcn.10042d92
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [0x10115084], 0
jmp 0x1003ac6f
and dword [ebp - 0x1058], 0
push 0x1011609c
mov ecx, dword [0x10115084]
call fcn.1001b5ed
test eax, eax
jne 0x10039f11
push dword [ebp - 0x105c]
push edi
push 0x193
call fcn.10026985
push eax
push 0x20000
push ebx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
push ebx
push dword [0x10116d20]
call fcn.1001277e
cmp dword [0x10116cd4], 0
je 0x1003ac6f
push dword [0x10116d20]
push dword [0x1011609c]
call fcn.1002ae1a
jmp 0x1003ac6f
mov eax, dword [0x1011609c]
movzx ecx, word [eax + 4]
cmp ecx, 1
je 0x1003ac37
cmp ecx, 2
ja 0x1003ac37
mov ecx, dword [eax + 0x14]
mov dword [0x10114440], ecx
push 0x10114c70
push dword [eax + 8]
mov ecx, dword [0x10115084]
call fcn.1001b643
test eax, eax
jne 0x10039f5a
push edi
push 0x195
call fcn.10026985
push eax
jmp 0x10039ee3
mov eax, dword [0x1011609c]
mov eax, dword [eax + 0xc]
mov dword [0x10116090], eax
mov ecx, dword [0x10116d60]
mov edx, dword [ecx]
push 0x10116cac
push 0x100027d4
push 0
push eax
push dword [0x10114c70]
push ecx
call dword [edx + 0x14]
test eax, eax
jns 0x10039faf
cmp dword [0x10116cd4], 0
je 0x10039fa4
push dword [0x10116d20]
push dword [0x1011609c]
call fcn.1002ae1a
push edi
push 0x195
jmp 0x1003ac5e
push dword [0x10116cac]
call fcn.100121fd
mov eax, dword [0x10116d60]
mov ecx, dword [eax]
push 0x10114c6c
push 0x10002724
push dword [0x10116cac]
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x10039f8a
lea eax, [ebp - 0x1074]
push eax
push 0x10011260
push 1
push 0
push 0x10011250
call dword [0x10001400]
test eax, eax
js 0x1003a024
mov eax, dword [ebp - 0x1074]
mov ecx, dword [eax]
push 0x10116ca8
push 0
push esi
push dword [0x10114c6c]
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [ebp - 0x1074]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
jns 0x1003a02b
and dword [0x10116d00], 0
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
push 0xc000000
push eax
call dword [ecx + 0xc]
mov dword [0x10116d34], eax
test eax, eax
je 0x1003a051
inc eax
push eax
call fcn.10042e16
pop ecx
mov dword [0x10116d30], eax
call fcn.1002cec3
call fcn.10032cc8
jmp 0x1003a062
mov edi, 0xfde9
mov eax, dword [0x10116d34]
xor esi, esi
cmp eax, esi
je 0x1003a07e
inc eax
push eax
push esi
push dword [0x10116d30]
call sub.MSVCR100.dll_memset
add esp, 0xc
call fcn.10026a02
test al, al
je 0x1003a0d6
cmp dword [0x10116cd4], esi
je 0x1003a0a0
push dword [0x10116d20]
push dword [0x1011609c]
call fcn.1002ae1a
cmp dword [0x10116d38], esi
je 0x1003a0ba
push dword [0x10116d20]
push esi
push dword [ebp - 0x105c]
call fcn.100398f6
push edi
push 0x1ee
call fcn.10026985
push eax
push dword [0x10116d20]
call fcn.1001277e
jmp 0x1003ac18
test byte [0x10116d14], 4
je 0x1003a0e9
call fcn.1004158b
jmp 0x1003ac6f
push esi
call fcn.1001c194
push eax
push dword [0x10116d20]
call fcn.10011965
push dword [0x10116d20]
push dword [0x1011609c]
cmp dword [0x10116cd4], esi
je 0x1003a127
call fcn.1002ae1a
push dword [0x10116d20]
push dword [0x1011609c]
call fcn.1002c004
jmp 0x1003a12c
call fcn.10029b2f
cmp dword [0x10116cd8], esi
je 0x1003a145
push dword [0x10116d20]
push dword [0x1011609c]
call fcn.1002f346
cmp dword [0x10116cec], esi
je 0x1003a152
call fcn.1002dff7
cmp dword [0x10116d38], esi
je 0x1003a16c
push dword [0x10116d20]
push esi
push dword [ebp - 0x105c]
call fcn.100398f6
cmp dword [0x10116cf4], esi
je 0x1003a179
call fcn.10031dc6
push 0xffffffffffffffff
call fcn.1001c194
push eax
push dword [0x10116d20]
call fcn.10011965
cmp dword [0x10116ce0], esi
je 0x1003a1c3
push 0x10
call fcn.10042e16
pop ecx
mov dword [ebp - 0x1054], eax
mov dword [ebp - 4], 3
cmp eax, esi
je 0x1003a1b8
push 0x18
mov ecx, eax
call fcn.1002ce18
jmp 0x1003a1ba
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [0x10114428], eax
cmp dword [0x100538b4], esi
je 0x1003aa64
mov byte [0x10114c80], 0
mov eax, dword [0x10116d24]
cmp eax, esi
je 0x1003a207
push 7
push dword [0x10116d20]
mov ecx, dword [0x1011609c]
push dword [ecx + 0x14]
push eax
call fcn.10029af6
push eax
call fcn.100376dd
push ebx
call fcn.1002cc08
jmp 0x1003aa47
xor esi, esi
mov dword [ebp - 0x1044], esi
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x104c]
push edx
push eax
call dword [ecx + 0x38]
test eax, eax
js 0x1003a24b
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x104c]
push edx
push eax
call dword [ecx + 0x4c]
mov esi, eax
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x104c]
push edx
push eax
call dword [ecx + 0x54]
cmp dword [0x100538e0], 0
je 0x1003a261
mov eax, dword [0x10114c74]
add eax, esi
push eax
call fcn.1003c129
call fcn.1003c191
xor esi, esi
mov dword [0x10116d48], esi
push dword [0x10116d20]
call fcn.10026a56
cmp dword [0x10116cf0], esi
je 0x1003a28c
push dword [0x10116d20]
call fcn.1002de63
push dword [0x10116d20]
call fcn.1001adeb
push dword [0x10116d20]
call fcn.1003887b
cmp dword [0x10116d10], esi
je 0x1003a372
cmp dword [0x10114c74], esi
je 0x1003a372
mov esi, 0x10006d34
push esi
call fcn.1001c194
push eax
push dword [0x10116d20]
call fcn.10011965
push 0x1000a220
call fcn.1001c194
push eax
push dword [0x10116d20]
call fcn.10011965
push esi
call fcn.1001c194
push eax
push dword [0x10116d20]
call fcn.10011965
xor esi, esi
cmp dword [0x10114c74], esi
jbe 0x1003a337
mov eax, dword [0x10116cc0]
cmp dword [eax + esi*4], 0x2000000
jne 0x1003a32e
push 2
push dword [0x10116d20]
mov eax, dword [0x1011609c]
push dword [eax + 0x14]
mov eax, dword [0x10116cbc]
push dword [eax + esi*4]
call fcn.100376dd
inc esi
cmp esi, dword [0x10114c74]
jb 0x1003a303
push ebx
call fcn.1002cc08
mov esi, 0x10002e97
push esi
push dword [0x10116d20]
call fcn.10011965
push 0x10009f88
call fcn.1001c194
push eax
push dword [0x10116d20]
call fcn.10011965
push esi
push dword [0x10116d20]
call fcn.10011965
jmp 0x1003a377
mov esi, 0x10002e97
call fcn.100386d8
mov eax, dword [0x1011609c]
push dword [eax + 0x14]
call fcn.10038598
cmp dword [0x10114c74], 0
je 0x1003a492
push esi
push dword [0x10116d20]
call fcn.10011965
push 0x1000a1d8
call fcn.1001c194
push eax
push dword [0x10116d20]
call fcn.10011965
cmp dword [0x10116d10], 0
je 0x1003a3ed
push 0x1000a198
call fcn.1001c194
push eax
push dword [0x10116d20]
call fcn.10011965
push 0x1000a164
call fcn.1001c194
push eax
push dword [0x10116d20]
call fcn.10011965
push esi
push dword [0x10116d20]
call fcn.10011965
and dword [ebp - 0x1064], 0
cmp dword [0x10114c74], 0
jbe 0x1003a45e
mov eax, dword [ebp - 0x1064]
mov ecx, dword [0x10116cc0]
cmp dword [ecx + eax*4], 0x2000000
jne 0x1003a44a
push 7
push dword [0x10116d20]
mov ecx, dword [0x1011609c]
push dword [ecx + 0x14]
mov ecx, dword [0x10116cbc]
push dword [ecx + eax*4]
call fcn.100376dd
cmp dword [0x10116d48], 0
jne 0x1003a6ee
inc dword [ebp - 0x1064]
mov eax, dword [ebp - 0x1064]
cmp eax, dword [0x10114c74]
jb 0x1003a409
push ebx
call fcn.1002cc08
push esi
push dword [0x10116d20]
call fcn.10011965
push 0x10009f88
call fcn.1001c194
push eax
push dword [0x10116d20]
call fcn.10011965
push esi
push dword [0x10116d20]
call fcn.10011965
cmp dword [0x100538bc], 0
je 0x1003a4e6
xor eax, eax
inc eax
mov dword [ebp - 0x1068], eax
cmp dword [0x10116d34], eax
jb 0x1003a4e6
mov ecx, dword [0x10116d30]
cmp byte [ecx + eax], 0
jne 0x1003a4d1
push 1
push dword [0x10116d20]
mov eax, dword [ebp - 0x1068]
or eax, 0xc000000
push eax
call fcn.10033703
mov eax, dword [ebp - 0x1068]
inc eax
mov dword [ebp - 0x1068], eax
cmp eax, dword [0x10116d34]
jbe 0x1003a4ac
cmp dword [0x10116d48], 0
jne 0x1003a6ee
call fcn.1003c191
mov ecx, dword [0x10116cb8]
test ecx, ecx
je 0x1003aa47
mov byte [ebp - 0x105d], 0
xor eax, eax
inc eax
mov dword [ebp - 0x1050], eax
cmp ecx, eax
jle 0x1003a636
mov eax, dword [ebp - 0x1050]
dec eax
push eax
mov ecx, dword [0x10116cb0]
call fcn.1001256e
mov esi, eax
push dword [ebp - 0x1050]
mov ecx, dword [0x10116cb0]
call fcn.1001256e
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x1003a611
mov eax, dword [ebp - 0x1050]
dec eax
push eax
mov ecx, dword [0x10116cb0]
call fcn.1001256e
mov esi, dword [eax]
push dword [ebp - 0x1050]
mov ecx, dword [0x10116cb0]
call fcn.1001256e
mov dword [ebp - 0x1054], eax
mov eax, dword [ebp - 0x1050]
dec eax
push eax
mov ecx, dword [0x10116cb0]
call fcn.1001256e
mov ecx, dword [ebp - 0x1054]
mov ecx, dword [ecx]
mov dword [eax], ecx
push dword [ebp - 0x1050]
mov ecx, dword [0x10116cb0]
call fcn.1001256e
mov dword [eax], esi
mov eax, dword [ebp - 0x1050]
dec eax
mov dword [ebp - 0x1054], eax
push eax
mov ecx, dword [0x10116cb4]
call fcn.1001256e
mov esi, dword [eax]
push dword [ebp - 0x1050]
mov ecx, dword [0x10116cb4]
call fcn.1001256e
mov dword [ebp - 0x1068], eax
push dword [ebp - 0x1054]
mov ecx, dword [0x10116cb4]
call fcn.1001256e
mov ecx, dword [ebp - 0x1068]
mov ecx, dword [ecx]
mov dword [eax], ecx
push dword [ebp - 0x1050]
mov ecx, dword [0x10116cb4]
call fcn.1001256e
mov dword [eax], esi
mov byte [ebp - 0x105d], 1
inc dword [ebp - 0x1050]
mov ecx, dword [0x10116cb8]
cmp dword [ebp - 0x1050], ecx
jl 0x1003a51e
cmp byte [ebp - 0x105d], 0
jne 0x1003a506
mov eax, dword [0x10115084]
mov edx, dword [eax + 0x18]
movzx esi, word [edx + 0x14]
lea edx, [esi + edx + 0x18]
mov dword [ebp - 0x1058], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
movzx eax, word [eax + 6]
mov dword [ebp - 0x1070], eax
and dword [ebp - 0x1050], 0
test ecx, ecx
jle 0x1003aa47
push dword [ebp - 0x1050]
mov ecx, dword [0x10116cb0]
call fcn.1001256e
mov eax, dword [eax]
mov dword [ebp - 0x106c], eax
xor esi, esi
cmp esi, dword [ebp - 0x1070]
jge 0x1003a6bc
mov ecx, dword [ebp - 0x1058]
mov edx, dword [ecx + 0xc]
cmp eax, edx
jb 0x1003a6a4
mov edi, dword [ecx + 8]
add edi, edx
cmp eax, edi
jb 0x1003a6b6
inc esi
add ecx, 0x28
mov dword [ebp - 0x1058], ecx
cmp esi, dword [ebp - 0x1070]
jl 0x1003a694
cmp esi, dword [ebp - 0x1070]
je 0x1003aa1a
mov dword [ebp - 0x1064], 0x10002868
mov edi, 0x1000286c
mov edx, dword [ebp - 0x1058]
mov esi, edx
push 5
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1003a71d
mov dword [ebp - 0x1064], 0x10002864
jmp 0x1003a737
push esi
push dword [0x10116d20]
call fcn.1001277e
push edi
push 0x197
call fcn.10026985
push eax
push dword [0x10116d20]
call fcn.1001277e
and dword [ebp - 0x1058], 0
jmp 0x1003ac18
mov edi, 0x1000285c
mov esi, edx
push 6
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1003a737
mov dword [ebp - 0x1064], 0x10002858
mov eax, dword [0x10116cb8]
dec eax
cmp dword [ebp - 0x1050], eax
jne 0x1003a75b
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x105c], eax
mov edi, dword [ebp - 0x1058]
mov esi, eax
jmp 0x1003a78e
mov eax, dword [ebp - 0x1050]
inc eax
push eax
mov ecx, dword [0x10116cb0]
call fcn.1001256e
mov esi, dword [eax]
mov dword [ebp - 0x105c], esi
mov edi, dword [ebp - 0x1058]
mov eax, dword [edi + 8]
add eax, dword [edi + 0xc]
cmp esi, eax
jbe 0x1003a78e
mov esi, eax
mov dword [ebp - 0x105c], esi
push dword [ebp - 0x1050]
mov ecx, dword [0x10116cb4]
call fcn.1001256e
mov ecx, esi
sub ecx, dword [ebp - 0x106c]
cmp ecx, dword [eax]
jbe 0x1003a7ca
push dword [ebp - 0x1050]
mov ecx, dword [0x10116cb4]
call fcn.1001256e
mov esi, dword [eax]
add esi, dword [ebp - 0x106c]
mov dword [ebp - 0x105c], esi
mov dword [ebp - 0x1068], esi
mov eax, dword [edi + 0x10]
add eax, dword [edi + 0xc]
cmp esi, eax
jbe 0x1003a7e0
mov dword [ebp - 0x1068], eax
mov edi, dword [sym.imp.MSVCR100.dll_sprintf_s]
push 0x1000196c
call fcn.1001c102
push eax
push 0x10114468
push 0x10002f44
push 0x20000
push ebx
call edi
add esp, 0x14
lea esi, [ebx + eax]
mov eax, dword [ebp - 0x1064]
mov al, byte [eax]
cmp al, 0x54
jne 0x1003a842
mov eax, 0x10078a80
cmp esi, eax
jb 0x1003a827
and dword [ebp - 0x1054], 0
jmp 0x1003a82f
sub eax, esi
mov dword [ebp - 0x1054], eax
push 0x1000a15c
call fcn.1001c102
push eax
push dword [ebp - 0x1054]
jmp 0x1003a871
cmp al, 0x49
jne 0x1003a879
mov eax, 0x10078a80
cmp esi, eax
jb 0x1003a858
and dword [ebp - 0x1054], 0
jmp 0x1003a860
sub eax, esi
mov dword [ebp - 0x1054], eax
push 0x10002f2c
call fcn.1001c102
push eax
push dword [ebp - 0x1054]
push esi
call edi
add esp, 0xc
add esi, eax
mov eax, dword [ebp - 0x1068]
cmp dword [ebp - 0x106c], eax
mov eax, 0x10078a80
jb 0x1003a8ed
cmp esi, eax
jb 0x1003a899
and dword [ebp - 0x1054], 0
jmp 0x1003a8a1
sub eax, esi
mov dword [ebp - 0x1054], eax
mov eax, dword [ebp - 0x105c]
sub eax, dword [ebp - 0x106c]
push eax
push 0x10001dd0
call fcn.1001c102
push eax
push dword [ebp - 0x106c]
push dword [ebp - 0x1064]
push 0x1000a148
push dword [ebp - 0x1054]
push esi
call edi
add esp, 0x1c
push ebx
push dword [0x10116d20]
call fcn.10011965
mov esi, dword [ebp - 0x105c]
jmp 0x1003a98f
cmp esi, eax
jb 0x1003a8fa
and dword [ebp - 0x1054], 0
jmp 0x1003a902
sub eax, esi
mov dword [ebp - 0x1054], eax
push 0x10001b90
call fcn.1001c102
push eax
push dword [ebp - 0x106c]
push dword [ebp - 0x1064]
push 0x1000a138
push dword [ebp - 0x1054]
push esi
call edi
add esp, 0x18
add esi, eax
push ebx
push dword [0x10116d20]
call fcn.10011965
cmp esi, 0x10078a80
jb 0x1003a944
xor eax, eax
jmp 0x1003a94b
mov eax, 0x10078a80
sub eax, esi
push 0x10114468
push 0x100084bc
push eax
push ebx
call edi
add esp, 0x10
push dword [ebp - 0x1068]
mov esi, dword [ebp - 0x105c]
push esi
push dword [ebp - 0x106c]
mov eax, dword [ebp - 0x1058]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x106c]
mov eax, dword [0x10115084]
add ecx, dword [eax]
push ecx
push ebx
call fcn.1002c3f4
cmp dword [ebp - 0x1068], esi
jne 0x1003a9fb
mov eax, dword [0x10116cb8]
dec eax
cmp dword [ebp - 0x1050], eax
jge 0x1003a9fb
mov eax, dword [ebp - 0x1050]
inc eax
push eax
mov ecx, dword [0x10116cb0]
call fcn.1001256e
cmp esi, dword [eax]
jae 0x1003a9fb
mov eax, dword [ebp - 0x1050]
inc eax
push eax
mov ecx, dword [0x10116cb0]
call fcn.1001256e
mov ecx, dword [eax]
xor eax, eax
inc eax
test al, cl
jne 0x1003a9de
add eax, eax
test ecx, eax
je 0x1003a9d8
dec eax
test esi, eax
je 0x1003a9fb
mov dword [ebp - 0x106c], esi
lea ecx, [eax + esi]
not eax
and ecx, eax
mov dword [ebp - 0x105c], ecx
jmp 0x1003a7e6
inc dword [ebp - 0x1050]
mov eax, dword [ebp - 0x1050]
cmp eax, dword [0x10116cb8]
jl 0x1003a66b
mov edi, 0xfde9
jmp 0x1003aa47
push eax
mov edi, 0xfde9
push edi
push 0x1b9
call fcn.10026985
push eax
push 0x20000
push ebx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
push ebx
push dword [0x10116d20]
call fcn.10011965
push edi
push 0x198
call fcn.10026985
push eax
call fcn.1001c194
push eax
push dword [0x10116d20]
call fcn.10011965
mov dword [ebp - 0x1058], 1
cmp dword [0x10116d20], 0
je 0x1003abb9
push 0x1000
push 0
lea eax, [ebp - 0x1014]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov esi, 0x800
push esi
lea eax, [ebp - 0x1014]
push eax
push 0xffffffffffffffff
push 0x10115890
push 0
push edi
call dword [fcn.10001120]
push 0x2e
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
jne 0x1003aae2
lea eax, [ebp - 0x1014]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003aacc
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x1014]
push 0x10003134
mov ecx, eax
lea edx, [ebp - 0x1014]
sub ecx, edx
sar ecx, 1
sub esi, ecx
push esi
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x1014]
push eax
call fcn.1001b1a5
mov esi, eax
test esi, esi
je 0x1003ab85
cmp esi, 1
je 0x1003ab59
cmp esi, 0xdfffffff
je 0x1003ab3c
cmp esi, 0xefffffff
je 0x1003ab34
cmp esi, 0xffffffff
jne 0x1003ab8c
push edi
push 0x1d9
jmp 0x1003ab42
push edi
push 0x1d8
jmp 0x1003ab5f
push edi
push 0x1d7
call fcn.10026985
push eax
push 0x20000
push ebx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0xc
jmp 0x1003ab8c
push edi
push 0x1d6
call fcn.10026985
mov edi, eax
lea eax, [ebp - 0x1014]
push eax
call fcn.10011859
push eax
push edi
push 0x20000
push ebx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
jmp 0x1003ab8c
mov byte [0x10058a80], 0
cmp byte [0x10058a80], 0
je 0x1003abb9
push ebx
cmp esi, 1
jne 0x1003abae
call fcn.1001c194
push eax
push dword [0x10116d20]
call fcn.10011965
jmp 0x1003abb9
push dword [0x10116d20]
call fcn.1001277e
cmp dword [0x10116ce0], 0
je 0x1003abc9
push 1
call fcn.1003267b
cmp dword [0x101143f4], 0
je 0x1003ac04
push 0x1000a130
push dword [0x10116d20]
call fcn.10011965
push 0x1000a128
push dword [0x10116d20]
call fcn.10011965
push 0x1000a120
push dword [0x10116d20]
call fcn.10011965
jmp 0x1003ac18
cmp dword [0x101143f0], 0
je 0x1003ac18
push dword [0x10116d20]
call fcn.1002cb72
mov eax, dword [0x10116d20]
test eax, eax
je 0x1003ac30
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
pop ecx
and dword [0x10116d20], 0
call fcn.1003c292
jmp 0x1003ac6f
push ecx
push 0x1000a0fc
push 0x20000
push ebx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
push ebx
push dword [0x10116d20]
call fcn.1001277e
push edi
push 0x194
call fcn.10026985
push eax
push dword [0x10116d20]
call fcn.1001277e
mov eax, dword [ebp - 0x1058]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004a51e
leave
ret 4