Function at 0x100392de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 8], 4
mov bl, dl
mov dword [ebp - 0x10], 1
mov esi, ecx
push 0
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 8], 7
pop edi
jmp 0x1003939d
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x1c], 0xfffffffb
mov dword [ebp - 0xc], edi
jmp 0x10039394
mov dword [ebp - 0x14], 0x2fdc
xor ecx, ecx
mov dword [ebp - 0x18], 0xdb959c45
mov dword [ebp - 0x1c], 0xffff
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, 1
setg cl
xor edx, edx
imul eax, ecx, 0xc23e
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
setge dl
cmp edx, dword [ebp - 8]
jl 0x10039368
cmp dword [ebp - 8], edi
jne 0x1003936d
cmp dword [ebp - 0x1c], edi
je 0x10039372
xor ecx, ecx
inc ecx
jmp 0x10039374
mov ecx, edi
push 0xfffffffffffffff6
pop eax
sub eax, ecx
jne 0x1003937e
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], 1
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffe8
je 0x10039322
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffef
je 0x1003930f
cmp dword [ebp - 8], edi
jne 0x100393be
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], edi
jne 0x100393be
mov eax, edi
xor edi, edi
inc edi
jmp 0x100393c3
xor edi, edi
inc edi
mov eax, edi
mov dword [ebp - 0x1c], eax
test bl, bl
je 0x10039849
push 2
pop esi
push esi
lea ecx, [ebp - 0x48]
call fcn.10008f33
mov dword [ebp - 0x1c], 0x9bdba76a
xor ebx, ebx
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x1c], ebx
jmp 0x100393fc
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x48]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x100393ef
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], ebx
jl 0x1003950a
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], 0x58528353
mov dword [ebp - 0x10], 0x6bc22736
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x18], ebx
jl 0x10039501
mov dword [ebp - 0xc], 9
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x24ce5545
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
neg ecx
sbb ecx, ecx
xor edx, edx
neg ecx
add ecx, 0xfffffffc
cmp ecx, eax
mov eax, dword [ebp - 0x48]
setle dl
sub edx, dword [eax]
mov eax, dword [ebp - 0xc]
neg edx
sbb edx, edx
inc edx
add eax, edx
sub eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], ebx
jl 0x100394f8
mov dword [ebp - 8], 0x4ba928f0
cmp dword [ebp - 8], 0xfff6
mov eax, dword [ebp - 0xc]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x48]
setl cl
add ecx, dword [eax]
mov eax, dword [ebp - 0xc]
sub ecx, eax
xor eax, eax
cmp ecx, 0xda73
setg al
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], ebx
jmp 0x100394ee
mov dword [ebp - 0x24], 0x8f28
mov dword [ebp - 8], ebx
jmp 0x100394e6
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x100394e0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov eax, dword [ebp - 0x24]
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jle 0x100394d0
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jle 0x100394c4
dec dword [ebp - 0x14]
jns 0x10039482
dec dword [ebp - 0x18]
jns 0x1003942a
dec dword [ebp - 0x1c]
jns 0x1003940d
lea ecx, [ebp - 0x48]
call fcn.100090d5
mov dword [ebp - 8], 0x99841b3c
mov dword [ebp - 0x24], 0x9b2e4145
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], 0xc5ebb4ee
push 0xfffffffffffffffe
mov dword [ebp - 0x1c], edi
mov dword [ebp - 8], 0xffffffe7
pop eax
jmp 0x1003966a
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x1c], 0xe814b733
mov dword [ebp - 0x1c], 0xfffffff6
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], 3
jg 0x10039667
push esi
lea ecx, [ebp - 0x54]
call fcn.10008f33
mov dword [ebp - 0xc], ebx
jmp 0x1003957f
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x3c], 4
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x10039571
mov dword [ebp - 0xc], ebx
jmp 0x1003959a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x54]
mov dword [eax + ecx*4], 0xf2fdad5
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1003958a
mov dword [ebp - 0x38], ebx
jmp 0x10039636
mov dword [ebp - 0x18], 0xed065768
mov dword [ebp - 0x18], ebx
jmp 0x100395c1
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x30], 0xffffffff
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x100395b3
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x64], ebx
je 0x1003961e
mov dword [ebp - 0x18], 0xffffffff
dec dword [ebp - 0x18]
je 0x100395e2
mov eax, edi
cmp dword [ebp - 0x30], ebx
jne 0x100395e4
mov eax, ebx
cmp dword [ebp - 8], 0x4392f209
mov edx, dword [ebp - 0x54]
jle 0x100395f7
mov ecx, ebx
cmp dword [edx + 4], ebx
je 0x100395f9
mov ecx, edi
sub eax, ecx
mov dword [edx + 4], eax
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10039633
push ebx
push 0x1dcc
push 0x1b86
push 0x5d4
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10039633
push ebx
push 0xaba
push ebx
call dword [sym.imp.GDI32.dll_GetRegionData]
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 3
jle 0x100395a7
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1003964f
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x54]
call fcn.100090d5
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jle 0x10039563
push 0xfffffffffffffffe
pop eax
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffe4
jle 0x1003953c
mov dword [ebp - 8], 0xfffffff9
jmp 0x10039736
mov dword [ebp - 0xc], 0x5a91
mov dword [ebp - 0x1c], 0x8a9a2627
cmp dword [ebp - 0x24], ebx
jne 0x1003969e
cmp dword [ebp - 8], 0xad47
mov esi, ebx
jg 0x100396a0
mov esi, edi
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 0xc]
cmp ecx, eax
setl dl
sub esi, edx
mov edx, 0xb6749efe
sub esi, dword [ebp - 8]
neg esi
sbb esi, esi
add esi, 3
cmp esi, 0x8c8a251a
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, 7
setne cl
cmp ecx, edi
sbb eax, eax
neg eax
sub edx, eax
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
mov eax, dword [ebp - 0xc]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0xc]
setg dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0xc]
setge bl
xor ecx, ecx
cmp ebx, eax
setge cl
xor ebx, ebx
cmp ecx, 0xffff
je 0x1003972e
mov eax, ebx
cmp dword [ebp - 0xc], ebx
je 0x10039730
mov eax, edi
mov dword [ebp - 0x1c], eax
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffff7
jg 0x10039680
mov dword [ebp - 0x18], 0xfffffffa
mov dword [ebp - 0x1c], 0xfffffffc
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x14], 0x9786
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0xc], ebx
jmp 0x10039779
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x28], 0xfbfc75da
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x1003976b
mov dword [ebp - 0xc], ebx
jmp 0x10039791
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x20], 0xfda6c2e3
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x10039783
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x100397d2
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x1c]
sub ecx, 0x444b0a54
cmp ecx, eax
setne dl
xor ecx, ecx
cmp edx, 0xfff8
setne cl
xor eax, eax
cmp ecx, edi
setle al
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x7ddbf4df
mov ecx, dword [ebp - 0x1c]
neg ecx
sbb ecx, ecx
xor eax, eax
neg ecx
cmp ecx, 0xfffffff8
mov dword [ebp - 0x28], ecx
setle al
add eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
jl 0x10039805
mov ecx, ebx
cmp dword [ebp - 0x14], ebx
je 0x10039807
mov ecx, edi
mov eax, dword [ebp - 0x14]
xor edx, edx
sub ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x20]
imul ecx, eax, 0xffff
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
setge dl
mov dword [ebp - 0x20], edx
mov edx, dword [ebp + 0xc]
mov dword [edx], ebx
cmp dword [edx], 3
jge 0x1003985e
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xfffffffe
inc dword [edx]
cmp dword [edx], 3
jl 0x10039835
jmp 0x1003985e
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov ecx, dword [edx]
imul ecx, dword [eax]
mov dword [edx], ecx
imul eax, dword [edx], 0xffff
mov dword [esi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret