Function at 0x1003df46
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x1005fc79
call fcn.1005eaf8
sub esp, 0x98
mov dword [ebp - 0x38], edx
xor edx, edx
mov dword [ebp - 0x24], 6
inc edx
mov dword [ebp - 0x28], 0xb7c7ce53
push ebx
mov dword [ebp - 0x24], 0xfffffffd
push edi
push 9
pop eax
mov dword [ebp - 0x24], eax
mov edi, ecx
mov dword [ebp - 0x24], 7
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x24], 0xd3c891c5
mov dword [ebp - 0x24], 0xfffffff6
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x68], 0x7c1188e1
call fcn.100141a6
xor ebx, ebx
mov dword [ebp - 0x28], eax
cmp dword [edi + 0x10], ebx
jne 0x1003dfc8
xor al, al
jmp 0x1003e3e3
mov dword [ebp - 0x10], 0x8876
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x28], 0x63588c55
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x3c], 0xe0c23782
mov dword [ebp - 0x14], 0x73d4c46
mov dword [ebp - 0x14], ebx
push esi
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x14], ebx
push 2
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x14], ebx
pop esi
jmp 0x1003e01c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x88], 0x88216928
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1003e00b
imul eax, dword [ebp - 0x10], 0x4e58
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x469209a4
je 0x1003e038
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp eax, 1
mov eax, dword [ebp - 0x3c]
setge dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [ebp - 0x3c], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x28]
cmp eax, edx
setle cl
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x28]
add eax, 7
imul ecx, eax
sub ecx, dword [ebp - 0x10]
sub ecx, 6
sub ecx, dword [ebp - 0x10]
neg ecx
sbb ecx, ecx
add ecx, 0xffffcf6a
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, dword [ebp - 0x28]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, 6
setge dl
xor ecx, ecx
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
cmp eax, edx
setl cl
xor edx, edx
sub ecx, 0x262
imul ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
setle dl
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], bl
je 0x1003e0f4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
lea eax, [ebp - 0x38]
push eax
push 0x470a
push ebx
call fcn.1003e843
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x1003e110
mov ecx, dword [edi]
jmp 0x1003e112
mov ecx, edi
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x2c], ecx
jb 0x1003e11f
mov edx, dword [edi]
jmp 0x1003e121
mov edx, edi
mov eax, dword [edi + 0x10]
add eax, edx
cmp ecx, eax
je 0x1003e3e0
mov dword [ebp - 0x18], 0x2b29949d
lea ecx, [ebp - 0x64]
push 3
call fcn.1001ab0d
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x20]
call fcn.1003dde3
mov dword [ebp - 0x20], ebx
jmp 0x1003e160
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x90], 0xffffffff
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x1003e14f
mov dword [ebp - 0x20], ebx
jmp 0x1003e178
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x4c], 0x6f37911b
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 1
jl 0x1003e16a
mov eax, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x64]
mov esi, dword [ebp - 0x64]
cmp dword [eax], ecx
setl dl
neg edx
cmp edx, dword [esi + 8]
jge 0x1003e19e
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
cmp eax, 0x19a6fdd8
mov eax, dword [ebp - 0x90]
setne cl
imul ecx, eax
xor eax, eax
cmp ecx, 0xd3650dfa
mov dword [ebp - 0x4c], ecx
setne al
xor ecx, ecx
cmp eax, dword [esi + 8]
mov eax, dword [ebp - 0x64]
setle cl
sub ecx, dword [eax + 4]
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x64]
call fcn.1001ab8f
mov eax, dword [ebp - 0x2c]
mov al, byte [eax]
cmp al, 0x30
jl 0x1003e340
cmp al, 0x39
jg 0x1003e340
push 3
lea ecx, [ebp - 0x80]
call fcn.1001ab0d
mov dword [ebp - 0x18], 0xfffffffd
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x10], ebx
jmp 0x1003e223
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x80]
mov dword [eax + ecx*4], 0x3342eb90
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1003e213
push 2
mov dword [ebp - 0x10], ebx
pop esi
jmp 0x1003e23f
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x48], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1003e231
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x18], ebx
jl 0x1003e305
mov dword [ebp - 0x10], 0xfffffffd
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x14], ebx
jmp 0x1003e271
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x50], 0x3196
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x1003e263
mov dword [ebp - 0x10], ebx
jmp 0x1003e290
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], bl
jne 0x1003e33b
call fcn.1003de0e
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jle 0x1003e27c
mov eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, dword [ebp - 0x80]
mov eax, dword [ecx + eax*4]
imul eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x44]
cmp eax, 1
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x44]
setle dl
imul ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x24]
setl cl
xor edx, edx
cmp ecx, 0xffffffff
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x80]
setne cl
add ecx, dword [eax + esi*4]
imul ecx, dword [eax + 8]
test ecx, ecx
jne 0x1003e2f0
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x10], ebx
dec dword [ebp - 0x18]
push 2
pop esi
jns 0x1003e250
call fcn.1003de2d
lea ecx, [ebp - 0x80]
call fcn.1001ab8f
push 0x7955
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x38]
push eax
push 0x31d3
push 0x64f8
call fcn.10041652
mov ecx, dword [ebp - 0x2c]
add esp, 0x18
inc ecx
jmp 0x1003e112
call fcn.1003de02
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x34], 0x17b844a7
push 1
call fcn.1001ab0d
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x74]
mov dword [ebp - 0x40], 0xfffffffe
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x58], 0x6d7d0454
mov dword [ebp - 0x54], 0x6a9bebb
call fcn.1003de56
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov eax, dword [ebp - 0x30]
cmp eax, 1
setge cl
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x74]
mov dword [eax], ecx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x54]
call fcn.1003de75
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
add esp, 0x10
call fcn.1001ab8f
push 0x2e15
push ebx
push 0x5f1
lea eax, [ebp - 0x38]
push 0x626f
push eax
call fcn.100418f8
add esp, 0x14
xor al, al
jmp 0x1003e3e2
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret