Function at 0x1003d308
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1003d396
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1003d340
push 0
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
jmp 0x1003d391
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1003d374
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x1003d391
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.10012a00
mov dword [eax], 0xfffa
jmp 0x1003d369
jmp 0x1003d591
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x1003d3f5
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x1003d591
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x78]
mov dword [eax], 1
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 1
jl 0x1003d4a1
mov dword [ebp - 0x14], 1
jmp 0x1003d4a5
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0xe0bbe0e2
ja 0x1003d4b7
mov dword [ebp - 8], 1
jmp 0x1003d4bb
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp - 8], 0xffff
jbe 0x1003d4d5
mov dword [ebp - 0x80], 1
jmp 0x1003d4d9
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10012a00
imul esi, dword [eax]
mov eax, dword [ebp - 0x88]
cmp esi, dword [eax]
jl 0x1003d514
mov dword [ebp - 0x24], 1
jmp 0x1003d518
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jle 0x1003d53b
xor eax, eax
jne 0x1003d53b
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10012a00
cmp dword [eax], 0
jne 0x1003d53b
and dword [ebp - 0x20], 0
jmp 0x1003d542
mov dword [ebp - 0x20], 1
push 1
mov ecx, dword [ebp - 0x90]
call fcn.10012a00
mov eax, dword [eax]
neg eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x20]
imul eax, ecx
cmp eax, 0x8eaf535
je 0x1003d56f
mov dword [ebp - 0x28], 1
jmp 0x1003d573
and dword [ebp - 0x28], 0
push 2
mov ecx, dword [ebp - 0x98]
call fcn.10012a00
mov esi, dword [ebp - 0x28]
sub esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10012a00
mov dword [eax], esi
pop esi
mov esp, ebp
pop ebp
ret