Function at 0x100010a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc4
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xd0]
push ebx
mov ebx, dword [esp + 0xcc]
push ebp
mov dword [esp + 0x20], eax
mov ebp, ecx
mov eax, dword [esp + 0xdc]
push esi
xor esi, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xe4]
push edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.10001040
movzx eax, word [esp + 0xdc]
push 0x463
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp ebx, 4
jb 0x100016d3
test edi, edi
je 0x100016d3
mov esi, dword [edi]
push esi
call fcn.1000a9a8
push esi
push eax
mov dword [esp + 0x58], eax
lea eax, [ebx - 4]
push eax
lea eax, [edi + 4]
push eax
call fcn.10005a50
mov eax, dword [esp + 0x60]
add esp, 0x14
mov esi, dword [eax]
lea edi, [eax + 4]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x100011ee
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000a9a8
lea ecx, [esi*8]
mov dword [esp + 0x14], eax
push ecx
push 0
push eax
call fcn.10006e20
add esp, 0x10
xor ebx, ebx
test esi, esi
jle 0x100011ee
mov ebp, esi
lea esp, [esp]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100011c5
push edi
sub esi, ecx
call fcn.100017b0
mov ecx, dword [esp + 0x14]
inc edi
add esp, 4
add edi, esi
mov dword [ecx + ebx*8], eax
inc ebx
cmp ebx, ebp
jl 0x100011c0
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 4]
xor ecx, ecx
mov dword [ebp], eax
add edi, 8
mov edx, 4
mov dword [esp + 0x24], edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000a9a8
mov ecx, dword [ebp]
shl ecx, 2
push ecx
push 0
push eax
mov dword [ebp + 4], eax
call fcn.10006e20
add esp, 0x10
test esi, esi
jle 0x10001274
mov esi, dword [esp + 0x10]
mov edi, 4
mov ebx, dword [esp + 0x1c]
add esi, 4
lea ebx, [ebx]
mov eax, dword [ebp]
xor ecx, ecx
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000a9a8
mov dword [esi], eax
mov ecx, dword [ebp]
shl ecx, 2
push ecx
push 0
push eax
call fcn.10006e20
add esp, 0x10
lea esi, [esi + 8]
sub ebx, 1
jne 0x10001240
mov edi, dword [esp + 0x24]
xor ebx, ebx
cmp dword [ebp], ebx
jle 0x100012a8
jmp 0x10001280
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001285
sub esi, ecx
je 0x1000129f
push edi
call fcn.100017b0
mov ecx, dword [ebp + 4]
add esp, 4
mov dword [ecx + ebx*4], eax
inc edi
inc ebx
add edi, esi
cmp ebx, dword [ebp]
jl 0x10001280
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jle 0x10001313
mov edx, dword [esp + 0x10]
mov eax, ebx
add edx, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], edx
xor ebx, ebx
add edi, 8
cmp dword [ebp], ebx
jle 0x100012ff
jmp 0x100012d0
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100012d5
sub esi, ecx
je 0x100012f2
push edi
call fcn.100017b0
mov edx, dword [esp + 0x30]
add esp, 4
mov ecx, dword [edx]
mov dword [ecx + ebx*4], eax
inc edi
inc ebx
add edi, esi
cmp ebx, dword [ebp]
jl 0x100012d0
mov eax, dword [esp + 0x24]
add edx, 8
sub eax, 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
jne 0x100012c1
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x10001387
cmp word [ebp], 0
je 0x10001387
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100013e4
cmp word [eax], 0
mov eax, dword [esp + 0x14]
je 0x1000138b
test eax, eax
je 0x1000138b
cmp word [eax], 0
je 0x1000138b
push ebp
push dword [esp + 0x1c]
push eax
push str._s._s._s
lea eax, [esp + 0x60]
push 0x40
push eax
call fcn.10001900
add esp, 0x18
xor edi, edi
test ebx, ebx
jle 0x10001387
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
push dword [esi]
call fcn.10007fa3
add esp, 8
test eax, eax
je 0x10001383
inc edi
add esi, 8
cmp edi, ebx
jl 0x10001366
jmp 0x10001387
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x100013e4
cmp word [ecx], 0
je 0x100013e4
test eax, eax
je 0x100013e4
cmp word [eax], 0
je 0x100013e4
push ecx
push eax
push str._s._s
lea eax, [esp + 0x5c]
push 0x40
push eax
call fcn.10001900
add esp, 0x14
xor edi, edi
test ebx, ebx
jle 0x100013e4
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
push dword [esi]
call fcn.10007fa3
add esp, 8
test eax, eax
je 0x100013e0
inc edi
add esi, 8
cmp edi, ebx
jl 0x100013c3
jmp 0x100013e4
mov dword [esp + 0x34], esi
test ebp, ebp
je 0x10001449
cmp word [ebp], 0
mov ebp, dword [esp + 0x14]
je 0x1000144d
test ebp, ebp
je 0x1000147f
cmp word [ebp], 0
je 0x1000144d
mov eax, dword [esp + 0x28]
push eax
push ebp
push str._s._s
lea eax, [esp + 0x5c]
push 0x40
push eax
call fcn.10001900
add esp, 0x14
xor edi, edi
test ebx, ebx
jle 0x1000144d
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
push dword [esi]
call fcn.10007fa3
add esp, 8
test eax, eax
je 0x10001443
inc edi
add esi, 8
cmp edi, ebx
jl 0x10001426
jmp 0x1000144d
mov dword [esp + 0x38], esi
jmp 0x1000144d
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x1000147f
cmp word [ebp], 0
je 0x1000147f
xor edi, edi
test ebx, ebx
jle 0x1000147f
mov esi, dword [esp + 0x10]
push ebp
push dword [esi]
call fcn.10007fa3
add esp, 8
test eax, eax
je 0x1000147b
inc edi
add esi, 8
cmp edi, ebx
jl 0x10001462
jmp 0x1000147f
mov dword [esp + 0x3c], esi
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
test ebp, ebp
je 0x100014e5
cmp word [ebp], 0
je 0x100014e5
test esi, esi
je 0x1000151d
cmp word [esi], 0
je 0x100014e5
push ebp
push esi
push str._s._s
lea eax, [esp + 0x5c]
push 0x40
push eax
call fcn.10001900
add esp, 0x14
xor edi, edi
test ebx, ebx
jle 0x100014e5
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
push dword [esi]
call fcn.10007fa3
add esp, 8
test eax, eax
je 0x100014dd
inc edi
add esi, 8
cmp edi, ebx
jl 0x100014c0
jmp 0x100014e1
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1000151d
cmp word [esi], 0
je 0x1000151d
xor edi, edi
test ebx, ebx
jle 0x1000151d
mov esi, dword [esp + 0x10]
lea esp, [esp]
push ebp
push dword [esi]
call fcn.10007fa3
add esp, 8
test eax, eax
je 0x10001519
inc edi
add esi, 8
cmp edi, ebx
jl 0x10001500
jmp 0x1000151d
mov dword [esp + 0x44], esi
test ebp, ebp
je 0x1000154d
cmp word [ebp], 0
je 0x1000154d
xor edi, edi
test ebx, ebx
jle 0x1000154d
mov esi, dword [esp + 0x10]
push ebp
push dword [esi]
call fcn.10007fa3
add esp, 8
test eax, eax
je 0x100016c8
inc edi
add esi, 8
cmp edi, ebx
jl 0x10001532
xor ecx, ecx
mov ebx, dword [esp + 0x20]
xor ebp, ebp
cmp dword [ebx], ebp
jle 0x10001658
lea ecx, [ecx]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1000157f
lea edi, [eax + 4]
mov eax, dword [edi]
lea esi, [ebp*4]
mov ebx, dword [esi + eax]
test ebx, ebx
jne 0x10001622
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1000159e
lea edi, [eax + 4]
mov eax, dword [edi]
lea esi, [ebp*4]
mov ebx, dword [esi + eax]
test ebx, ebx
jne 0x10001622
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100015b9
lea edi, [eax + 4]
mov eax, dword [edi]
lea esi, [ebp*4]
mov ebx, dword [esi + eax]
test ebx, ebx
jne 0x10001622
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100015d4
lea edi, [eax + 4]
mov eax, dword [edi]
lea esi, [ebp*4]
mov ebx, dword [esi + eax]
test ebx, ebx
jne 0x10001622
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100015ef
lea edi, [eax + 4]
mov eax, dword [edi]
lea esi, [ebp*4]
mov ebx, dword [esi + eax]
test ebx, ebx
jne 0x10001622
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1000160a
lea edi, [eax + 4]
mov eax, dword [edi]
lea esi, [ebp*4]
mov ebx, dword [esi + eax]
test ebx, ebx
jne 0x10001622
test ecx, ecx
je 0x1000164b
mov eax, dword [ecx + 4]
lea edi, [ecx + 4]
lea esi, [ebp*4]
mov ebx, dword [esi + eax]
test ebx, ebx
je 0x1000164b
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
push dword [esi + eax]
call fcn.1000a9a3
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 4]
mov dword [esi + eax], ebx
mov eax, dword [edi]
mov dword [esi + eax], 0
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, dword [ebx]
jl 0x10001560
push dword [esp + 0x4c]
call fcn.1000a9a3
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x100016c1
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jle 0x100016b8
lea edi, [eax + 4]
push dword [edi - 4]
call fcn.1000a9a3
add esp, 4
cmp dword [edi], 0
je 0x100016ac
xor esi, esi
cmp dword [ebx], esi
jle 0x100016a2
lea ecx, [ecx]
mov eax, dword [edi]
push dword [eax + esi*4]
call fcn.1000a9a3
inc esi
add esp, 4
cmp esi, dword [ebx]
jl 0x10001690
push dword [edi]
call fcn.1000a9a3
add esp, 4
add edi, 8
sub ebp, 1
jne 0x10001677
mov eax, dword [esp + 0x10]
push eax
call fcn.1000a9a3
add esp, 4
mov eax, 1
jmp 0x100016dc
mov ecx, esi
mov dword [esp + 0x48], ecx
jmp 0x1000154f
mov ecx, ebp
call fcn.10001040
xor eax, eax
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10005b76
add esp, 0xc4
ret 0x14