Function at 0x1003d6b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xd0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1006ad40]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x1006ad3c]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
imul eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl al
mov ch, ah
xor ch, 0xff
mov byte [ebp - 0x2f], ch
mov dl, al
xor dl, 0xff
mov byte [ebp - 0x2e], dl
mov cl, 1
xor cl, 1
mov byte [ebp - 0x2d], cl
and ch, 0xff
mov byte [ebp - 0x2c], ch
and ah, cl
mov byte [ebp - 0x2b], ah
and dl, 0xff
mov byte [ebp - 0x2a], dl
and al, cl
mov byte [ebp - 0x29], al
mov dl, byte [ebp - 0x29]
mov cl, byte [ebp - 0x2a]
mov ah, byte [ebp - 0x2b]
mov al, byte [ebp - 0x2c]
or al, ah
or cl, dl
xor al, cl
mov byte [ebp - 0x30], al
mov cl, byte [ebp - 0x2d]
mov dl, byte [ebp - 0x2e]
mov al, byte [ebp - 0x2f]
or al, dl
xor al, 0xff
or cl, 1
and al, cl
mov byte [ebp - 0x31], al
mov cl, byte [ebp - 0x31]
mov al, byte [ebp - 0x30]
or al, cl
test al, 1
jne 0x1003d777
jmp 0x1003daf8
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
push eax
mov edi, esp
push eax
mov eax, esp
push eax
mov ecx, esp
push eax
mov edx, esp
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x1c]
mov dword [edi], ebx
mov dword [eax], esi
mov dword [ecx], edx
cmp dword [eax], 1
sete al
mov byte [ebp - 0x3d], al
mov eax, dword [0x1006ad40]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x1006ad3c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
imul eax, ecx
and eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, 0
sete al
mov byte [ebp - 0x4d], al
mov al, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [ebp - 0x4f], dl
xor al, cl
mov byte [ebp - 0x4e], al
mov cl, byte [ebp - 0x4e]
mov al, byte [ebp - 0x4f]
or al, cl
test al, 1
jne 0x1003d803
jmp 0x1003daf8
mov al, byte [ebp - 0x3d]
test al, 1
jne 0x1003d813
jmp 0x1003dae9
mov eax, dword [0x1006ad40]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x1006ad3c]
mov dword [ebp - 0x58], eax
xor eax, eax
sub eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
add eax, ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [ebp - 0x62], cl
cmp eax, 0xa
setl al
mov byte [ebp - 0x61], al
mov cl, byte [ebp - 0x61]
mov al, byte [ebp - 0x62]
and al, cl
mov byte [ebp - 0x63], al
mov al, byte [ebp - 0x63]
mov dl, byte [ebp - 0x61]
mov cl, byte [ebp - 0x62]
xor cl, dl
or al, cl
mov byte [ebp - 0x64], al
mov al, byte [ebp - 0x64]
test al, 1
jne 0x1003d882
jmp 0x1003dc77
mov eax, dword [0x1006ad40]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [0x1006ad3c]
mov dword [ebp - 0x70], ecx
add eax, 0x271f1252
sub eax, 1
sub eax, 0x271f1252
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [ebp - 0x74], cl
cmp eax, 0xa
setl al
mov byte [ebp - 0x73], al
xor cl, 0xff
mov byte [ebp - 0x72], cl
xor al, 0xff
mov byte [ebp - 0x71], al
mov al, byte [ebp - 0x74]
mov dl, byte [ebp - 0x72]
mov cl, 1
xor cl, 0
mov byte [ebp - 0x77], cl
and dl, 0
mov byte [ebp - 0x76], dl
and al, cl
mov byte [ebp - 0x75], al
mov cl, byte [ebp - 0x71]
mov al, byte [ebp - 0x72]
mov dh, byte [ebp - 0x75]
mov dl, byte [ebp - 0x76]
mov bl, byte [ebp - 0x77]
mov ch, byte [ebp - 0x73]
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [ebp - 0x79], dl
or al, cl
mov byte [ebp - 0x78], al
mov al, byte [ebp - 0x79]
mov dl, byte [ebp - 0x77]
mov cl, byte [ebp - 0x78]
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1003d932
jmp 0x1003dc77
mov eax, dword [0x1006ad40]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [0x1006ad3c]
mov dword [ebp - 0x88], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
imul eax, ecx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
and eax, 1
cmp eax, 0
sete al
mov byte [ebp - 0x8d], al
mov al, byte [ebp - 0x8d]
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xa
setl cl
mov byte [ebp - 0x93], cl
mov dl, al
xor dl, 0xff
mov byte [ebp - 0x92], dl
xor cl, 0xff
mov byte [ebp - 0x91], cl
mov cl, 1
xor cl, 1
mov byte [ebp - 0x90], cl
and dl, 0xff
mov byte [ebp - 0x8f], dl
and al, cl
mov byte [ebp - 0x8e], al
mov dl, byte [ebp - 0x90]
mov ah, byte [ebp - 0x91]
mov cl, byte [ebp - 0x92]
mov bl, byte [ebp - 0x8e]
mov al, byte [ebp - 0x8f]
mov dh, byte [ebp - 0x93]
mov ch, ah
and ch, 0xff
and dh, dl
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1003da0f
jmp 0x1003dc2e
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
mov eax, dword [ebp - 0x44]
xor ecx, ecx
lea ecx, [sym.proxy.dll_DllEntry]
sub esp, 0x18
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x1006ad40]
mov dword [ebp - 0xa0], eax
mov ecx, dword [0x1006ad3c]
mov dword [ebp - 0x9c], ecx
sub eax, 0x711b7fc
sub eax, 1
add eax, 0x711b7fc
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa0]
imul eax, ecx
and eax, 1
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xa4]
cmp eax, 0
sete al
mov byte [ebp - 0xa7], al
cmp ecx, 0xa
setl cl
mov byte [ebp - 0xa6], cl
and al, cl
mov byte [ebp - 0xa5], al
mov al, byte [ebp - 0xa5]
mov dl, byte [ebp - 0xa6]
mov cl, byte [ebp - 0xa7]
xor cl, dl
or al, cl
test al, 1
jne 0x1003dae4
jmp 0x1003dc2e
jmp 0x1003dae9
mov eax, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov eax, dword [0x1006ad40]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov ecx, dword [0x1006ad3c]
mov dword [ebp - 0xb4], ecx
add eax, 0x66f42530
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
sub ecx, 1
sub ecx, 0x66f42530
imul eax, ecx
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
and eax, 1
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [ebp - 0xbd], al
mov al, byte [ebp - 0xbd]
test al, 1
jne 0x1003db86
jmp 0x1003dc7c
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
push eax
mov edi, esp
push eax
mov edx, esp
push eax
mov eax, esp
mov dword [edi], ebx
mov dword [edx], esi
mov dword [eax], ecx
mov eax, dword [0x1006ad40]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov ecx, dword [0x1006ad3c]
mov dword [ebp - 0xcc], ecx
mov ecx, eax
add ecx, 0xb920c60c
sub ecx, 1
sub ecx, 0xb920c60c
imul eax, ecx
and eax, 1
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc8]
cmp ecx, 0
sete cl
mov byte [ebp - 0xce], cl
cmp eax, 0xa
setl al
mov byte [ebp - 0xcd], al
mov dl, byte [ebp - 0xcd]
mov cl, byte [ebp - 0xce]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [ebp - 0xcf], al
mov al, byte [ebp - 0xcf]
test al, 1
jne 0x1003dc29
jmp 0x1003dc7c
jmp 0x1003d777
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
mov eax, dword [ebp - 0x44]
xor ecx, ecx
lea ecx, [sym.proxy.dll_DllEntry]
sub esp, 0x18
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1003da0f
jmp 0x1003d882
push eax
mov eax, esp
mov dword [ebp - 0xd4], eax
push eax
mov eax, esp
mov dword [ebp - 0xdc], eax
push eax
mov eax, esp
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xdc]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0xd4]
mov ebx, dword [ebp - 0x24]
mov dword [edi], ebx
mov dword [edx], esi
mov dword [eax], ecx
jmp 0x1003db86