Function at 0x10003a80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp eax, 0
sete bl
mov dword [0x10011414], 0x25c7
cmp ecx, 0
sete bh
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10003ce1
jmp 0x10003ba7
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x20]
mov dword [0x10011410], ecx
test al, 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
jne 0x10003cbe
mov eax, 0xfffff82b
mov dword [0x10011410], 0x10c6
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
je 0x10003cd0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [0x10011414], ecx
mov dx, word [eax + 0x24]
mov ecx, dword [eax + 0x28]
mov dword [0x10011410], 0x623
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x39]
and bh, bl
test bh, 1
mov edi, eax
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x3c], dx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x44], edi
jne 0x10003b97
mov ax, word [ebp - 0x3c]
shr ax, 1
mov dword [0x10011414], 0xb6e
movzx ecx, ax
cmp ax, 0
mov dword [ebp - 0x48], ecx
je 0x10003ae2
jmp 0x10003c06
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x4c]
add edx, 0xffffcb08
mov esi, dword [ebp - 0x50]
mov byte [ebp - 0x39], cl
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
jmp 0x10003b07
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x10003ce1
mov dword [0x10011414], 0x6c3
mov dword [0x10011410], 0x2526
mov ecx, dword fs:[0x18]
mov eax, dword [0x10011410]
mov edx, eax
add edx, 0xffffe3a3
mov dword [0x10011410], edx
mov dword [0x10011414], 0x255
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov ecx, dword [ecx + 0x14]
cmp ecx, edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x50], ecx
je 0x10003cd2
jmp 0x10003b72
mov eax, 0x27d4
xor ecx, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
jmp 0x10003c15
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x40]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov word [ebp - 0x62], si
mov word [ebp - 0x64], bx
jb 0x10003c4f
mov ax, word [ebp - 0x62]
mov word [ebp - 0x64], ax
mov ax, word [ebp - 0x64]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x5c]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov esi, dword [ebp - 0x60]
mov al, bl
mov byte [ebp - 0x65], bl
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x19], al
jne 0x10003ac8
mov eax, 0x3267
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [0x10011414], 0x1601
mov edx, dword [ebp - 0x48]
cmp ecx, edx
mov esi, dword [ebp - 0x60]
mov bl, byte [ebp - 0x65]
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x58], ecx
jb 0x10003c15
jmp 0x10003ac8
mov eax, dword [ebp - 0x28]
mov dword [0x10011410], 0xd62
mov dword [ebp - 0x18], eax
jmp 0x10003ce1
jmp 0x10003cd2
xor eax, eax
mov dword [0x10011414], 0x1342
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret