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 ecx, 0
sete bl
mov dword [0x10011414], 0x25c7
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10003cd5
jmp 0x10003b67
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x1c]
add edx, 0xffffcb08
mov esi, dword [ebp - 0x20]
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [0x10011414], eax
mov dx, word [ecx + 0x24]
mov eax, dword [ecx + 0x28]
mov dword [0x10011410], 0x623
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov edi, ecx
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x32], dx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edi
jne 0x10003b57
jmp 0x10003bc6
mov eax, 0xfffff82b
mov dword [0x10011410], 0x10c6
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x44]
cmp edx, esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
je 0x10003cc4
jmp 0x10003ae8
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x10003cd5
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 - 0x1c], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x20], ecx
je 0x10003cc6
jmp 0x10003ac8
mov dword [0x10011414], 0xb6e
mov ax, word [ebp - 0x32]
shr ax, 1
movzx ecx, ax
cmp ax, 0
mov dword [ebp - 0x48], ecx
je 0x10003b30
mov eax, 0x27d4
xor ecx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
jmp 0x10003bf7
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x38]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x5a], si
mov word [ebp - 0x5c], bx
jb 0x10003c31
mov ax, word [ebp - 0x5a]
mov word [ebp - 0x5c], ax
mov ax, word [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x54]
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 al, bl
mov esi, dword [ebp - 0x58]
mov byte [ebp - 0x5d], bl
mov byte [ebp - 0x5e], al
mov dword [ebp - 0x64], esi
jne 0x10003c97
mov eax, 0x3267
mov dword [0x10011414], 0x1601
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x48]
cmp ecx, edx
mov bl, byte [ebp - 0x5d]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov byte [ebp - 0x5e], bl
mov dword [ebp - 0x64], esi
jb 0x10003bf7
mov eax, dword [ebp - 0x64]
mov cl, byte [ebp - 0x5e]
mov dword [0x10011410], eax
test cl, 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x68], eax
jne 0x10003cb2
jmp 0x10003b30
mov eax, dword [ebp - 0x68]
mov dword [0x10011410], 0xd62
mov dword [ebp - 0x18], eax
jmp 0x10003cd5
jmp 0x10003cc6
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