Function at 0x10002310
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
mov edx, dword [0x10007048]
mov eax, dword [esp + 8]
sub esp, 0x258
push ebx
xor ebx, ebx
push esi
cmp edx, ebx
push edi
jne 0x100026dc
cmp eax, ebx
je 0x10002340
pop edi
pop esi
mov eax, 3
pop ebx
add esp, 0x258
ret
mov edi, dword [esp + 0x268]
cmp dword [edi + 0x418], ebx
je 0x100025df
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x125]
mov byte [esp + 0x124], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10007044]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
add eax, 4
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0x20], 0x25
mov byte [esp + 0x21], 0x78
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
call ebp
lea eax, [esp + 0x134]
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.10004340
mov al, 0x6c
lea edi, [esp + 0x34]
mov byte [esp + 0x35], al
mov byte [esp + 0x39], al
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
mov byte [esp + 0x20], 0x47
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x23], 0x62
mov byte [esp + 0x24], 0x61
mov byte [esp + 0x26], 0x5c
mov byte [esp + 0x27], bl
lea edx, [esp + 0x168]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x18], 0x54
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x19], 0x53
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0x1a], 0x56
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
mov byte [esp + 0x1b], 0x4e
mov byte [esp + 0x1c], bl
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x168]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
mov byte [esp + 0x10], 0x25
mov byte [esp + 0x11], 0x73
mov byte [esp + 0x12], bl
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x168]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x128]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x16c]
lea edx, [esp + 0x2c]
push ecx
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x28]
push eax
push ebx
push 0xf001f
call fcn.10002f40
mov esi, eax
pop ebp
cmp esi, ebx
je 0x10002500
push ebx
push ebx
push ebx
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
je 0x100024f9
push 0x10007058
push 0x10007054
push edi
call fcn.10004720
add esp, 0xc
mov dword [0x10007048], eax
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x10007048]
mov edi, dword [esp + 0x268]
cmp ecx, ebx
je 0x100026cb
cmp dword [edi + 0x418], ebx
jne 0x100025f2
lea edx, [esp + 0x24]
mov byte [esp + 0x24], 0x43
push edx
push ecx
mov byte [esp + 0x2d], 0x42
mov byte [esp + 0x2e], 0x46
mov byte [esp + 0x2f], 0x75
mov byte [esp + 0x30], 0x6e
mov byte [esp + 0x31], 0x41
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], bl
call fcn.10004390
add esp, 8
cmp eax, ebx
mov dword [0x10007054], eax
jne 0x10002601
mov eax, dword [edi + 0x41c]
mov ecx, dword [0x10007048]
cmp eax, ebx
je 0x10002684
add eax, ecx
mov dword [0x10007054], eax
jmp 0x100025f7
push edi
call fcn.10004570
mov ecx, eax
mov dword [0x10007048], ecx
jmp 0x1000250d
mov eax, dword [0x10007054]
cmp eax, ebx
je 0x10002684
jmp 0x10002607
mov ecx, dword [0x10007048]
mov edx, dword [edi + 0x404]
push edx
mov edx, dword [edi + 0x400]
push edx
push ecx
call eax
mov esi, eax
cmp esi, ebx
jne 0x10002665
cmp dword [edi + 0x418], ebx
je 0x10002646
mov eax, dword [0x10007048]
push eax
call fcn.10004dc0
add esp, 4
mov eax, esi
mov dword [0x10007048], ebx
pop edi
pop esi
pop ebx
add esp, 0x258
ret
mov ecx, dword [0x10007048]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
mov dword [0x10007048], ebx
pop esi
pop ebx
add esp, 0x258
ret
mov eax, dword [edi + 0x418]
xor edx, edx
cmp eax, ebx
mov eax, esi
setne dl
pop edi
pop esi
mov dword [0x10007050], edx
pop ebx
add esp, 0x258
ret
mov eax, dword [edi + 0x418]
push ecx
cmp eax, ebx
je 0x100026ae
call fcn.10004dc0
add esp, 4
mov esi, 3
mov eax, esi
mov dword [0x10007048], ebx
pop edi
pop esi
pop ebx
add esp, 0x258
ret
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x10007048], ebx
mov esi, 3
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x258
ret
mov esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x258
ret
cmp eax, ebx
je 0x1000270e
mov ecx, dword [0x10007054]
cmp ecx, ebx
je 0x100026ba
mov eax, dword [esp + 0x268]
mov esi, dword [eax + 0x404]
mov eax, dword [eax + 0x400]
push esi
push eax
push edx
call ecx
mov esi, eax
pop edi
pop esi
pop ebx
add esp, 0x258
ret
mov esi, 1
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x258
ret