Function at 0x10055996
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b754
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push esi
push 4
lea ecx, [ebp - 0x78]
call fcn.1001a32c
and dword [ebp - 4], 0
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0x18], 0
jmp 0x100559dd
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x100559f6
push dword [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.1001a399
mov dword [eax], 0x313d
jmp 0x100559d6
mov dword [ebp - 0x18], 0
jmp 0x10055a06
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x10055a1c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x10c], 0
jmp 0x100559ff
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x10c], 3
jmp 0x10055a47
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x10c]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x10c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x10c], 0
jl 0x10055d46
mov dword [ebp - 0x14], 0x888adae8
mov dword [ebp - 0x10], 0x700d62e6
mov dword [ebp - 0x2c], 0x6076fda0
mov dword [ebp - 0x14], 3
jmp 0x10055a7f
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10055b01
push dword [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.1001a399
mov ecx, 0xeda5
sub ecx, dword [eax]
add ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x14]
jl 0x10055aab
mov dword [ebp - 0xe4], 1
jmp 0x10055ab2
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0x1d52aa0a
jge 0x10055aca
mov dword [ebp - 0xd8], 1
jmp 0x10055ad1
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xd8], eax
jg 0x10055ae8
mov dword [ebp - 0xe0], 1
jmp 0x10055aef
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xe0]
mov dword [ebp - 0x2c], eax
jmp 0x10055a78
mov dword [ebp - 0x2c], 6
jmp 0x10055b11
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffe9
jge 0x10055d41
mov dword [ebp - 0x34], 0x4433
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x10c], 0
je 0x10055b36
jmp 0x10055d41
mov dword [ebp - 0x10], 0
jmp 0x10055b46
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x10055d3c
mov dword [ebp - 0x58], 0
jmp 0x10055b60
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x10055b76
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x16c], 0xffffffff
jmp 0x10055b59
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001a399
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x34], eax
jg 0x10055bca
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001a399
cmp dword [eax], 0xffffffff
jle 0x10055bac
mov dword [ebp - 0xd0], 1
jmp 0x10055bb3
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xd0]
jne 0x10055bca
mov dword [ebp - 0x94], 1
jmp 0x10055bd1
and dword [ebp - 0x94], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x10c]
cmp dword [ebp - 0x94], eax
jl 0x10055bf1
mov dword [ebp - 0xc4], 1
jmp 0x10055bf8
and dword [ebp - 0xc4], 0
push 0
lea ecx, [ebp - 0x78]
call fcn.1001a399
mov ecx, dword [ebp - 0xc4]
imul ecx, dword [eax]
cmp ecx, dword [ebp - 0x10]
jne 0x10055c1c
mov dword [ebp - 0x9c], 1
jmp 0x10055c23
and dword [ebp - 0x9c], 0
mov esi, dword [ebp - 0x9c]
sub esi, 8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001a399
imul esi, dword [eax]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001a399
cmp esi, dword [eax]
je 0x10055c55
mov dword [ebp - 0xdc], 1
jmp 0x10055c5c
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xdc], eax
jl 0x10055c73
mov dword [ebp - 0xa4], 1
jmp 0x10055c7a
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], 0
jmp 0x10055c93
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x10055d37
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x148], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001a399
cmp dword [eax], 0
jne 0x10055ce4
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0x10c]
lea ecx, [ebp - 0x78]
call fcn.1001a399
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x10055ce4
and dword [ebp - 0xac], 0
jmp 0x10055cee
mov dword [ebp - 0xac], 1
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0x10c]
lea ecx, [ebp - 0x78]
call fcn.1001a399
mov eax, dword [eax]
cmp eax, dword [ebp - 0xac]
jne 0x10055d18
mov dword [ebp - 0x88], 1
jmp 0x10055d1f
and dword [ebp - 0x88], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax - 0x16c], ecx
jmp 0x10055c8c
jmp 0x10055b3f
jmp 0x10055b0a
jmp 0x10055a2e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.1001a394
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10055dfc
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x144], 0x9b546158
mov dword [ebp - 0x14c], 0xd3b3152c
mov dword [ebp - 0x154], 0x86f8c7b5
mov dword [ebp - 0x15c], 0xc7008b15
mov dword [ebp - 0x140], 0xb9c279a2
mov dword [ebp - 0x158], 0x1b40
mov dword [ebp - 0xb4], 0x334adc6f
mov dword [ebp - 0x60], 0
jmp 0x10055dc8
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 4
jge 0x10055dde
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x184], 0xa77c8748
jmp 0x10055dc1
mov eax, dword [ebp - 0xb4]
dec eax
mov dword [ebp - 0xb4], eax
push 0
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringByteLen]
jmp 0x100563e6
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x6c], 0x643cdf98
mov dword [ebp - 0x7c], 0xa149cec7
mov dword [ebp - 0x54], 0
jmp 0x10055e21
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x10055e37
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x174], 0xffffffff
jmp 0x10055e1a
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x672ca3c0
jl 0x10055e5f
mov dword [ebp - 0xd4], 1
jmp 0x10055e66
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0xd4]
cmp dword [ebp - 0x6c], eax
jne 0x10055e8f
mov dword [ebp - 0x7c], 0x371247ad
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10055e8d
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
jmp 0x10055ea1
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10055ea1
call dword [sym.imp.GDI32.dll_GdiFlush]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x5c], 0
jmp 0x10055eba
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x10055ed0
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x134], 0xffffffff
jmp 0x10055eb3
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x134], 0
jmp 0x10055efb
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x134]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x134], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x134], 0x14
jg 0x10055f21
mov dword [ebp - 0x114], 0xffffffff
cmp dword [ebp - 0x114], 0
je 0x10055f1f
jmp 0x10055f21
jmp 0x10055ee2
mov dword [ebp - 0x3c], 0x8cafa32f
mov dword [ebp - 0x20], 0x478c38ec
mov dword [ebp - 0x50], 0xfffffff6
push 1
lea ecx, [ebp - 0xfc]
call fcn.1001a32c
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
jmp 0x10055f5a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10055f70
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x84], 0x3df603fa
jmp 0x10055f53
mov dword [ebp - 0x1c], 0
jmp 0x10055f80
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x10055f9c
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xfc]
call fcn.1001a399
mov dword [eax], 1
jmp 0x10055f79
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x84], 0
je 0x100560b1
mov eax, 0x912491e2
test eax, eax
je 0x10056092
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x84], 0
jne 0x10056073
mov dword [ebp - 0x3c], 0x3672
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x84]
imul ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp + eax - 0x84]
jne 0x10056007
cmp dword [ebp - 0x20], 0
jne 0x10056007
and dword [ebp - 0xbc], 0
jmp 0x10056011
mov dword [ebp - 0xbc], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xbc]
add ecx, dword [ebp + eax - 0x84]
mov dword [ebp - 0x8c], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x84], ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x8c], eax
je 0x10056054
mov dword [ebp - 0x90], 1
jmp 0x1005605b
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x10056073
and dword [ebp - 0x98], 0
jmp 0x1005607d
mov dword [ebp - 0x98], 1
cmp dword [ebp - 0x98], 3
jge 0x10056092
mov dword [ebp - 0xa0], 1
jmp 0x10056099
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0xcd54
jge 0x100560b1
mov dword [ebp - 0xa8], 1
jmp 0x100560b8
and dword [ebp - 0xa8], 0
push 0
lea ecx, [ebp - 0xfc]
call fcn.1001a399
mov ecx, dword [ebp - 0xa8]
imul ecx, dword [eax]
test ecx, ecx
je 0x100560f6
mov dword [ebp - 0x120], 0
mov esi, dword [ebp - 0x120]
push 0
lea ecx, [ebp - 0xfc]
call fcn.1001a399
mov dword [eax], esi
jmp 0x100561ab
mov dword [ebp - 0x68], 0x6d5d64f6
mov dword [ebp - 0x20], 0
jmp 0x1005610d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x100561ab
push dword [ebp - 0x20]
lea ecx, [ebp - 0xfc]
call fcn.1001a399
mov ecx, dword [ebp - 0x20]
cmp dword [eax], ecx
jle 0x10056174
mov dword [ebp - 0x3c], 0
jmp 0x1005613c
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x1005616c
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x10056156
push 0
call dword [sym.imp.GDI32.dll_CreatePalette]
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1005616a
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x10056135
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x68], eax
jmp 0x100561a6
mov dword [ebp - 0x110], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0xfc]
call fcn.1001a399
mov eax, dword [eax]
add eax, 0x4d4b
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x68], 0
jmp 0x10056106
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.1001a394
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x128], eax
push 4
lea ecx, [ebp - 0xf0]
call fcn.1001a32c
mov dword [ebp - 4], 2
mov dword [ebp - 0x24], 0xfffffffb
mov dword [ebp - 0x118], 0xffffffff
mov dword [ebp - 0x48], 0
jmp 0x100561fb
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x10056217
push dword [ebp - 0x48]
lea ecx, [ebp - 0xf0]
call fcn.1001a399
mov dword [eax], 0x6f5020f8
jmp 0x100561f4
push 2
lea ecx, [ebp - 0xf0]
call fcn.1001a399
cmp dword [eax], 0
jle 0x100563a2
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x138], 4
push 2
lea ecx, [ebp - 0xf0]
call fcn.1001a399
mov ecx, dword [ebp - 0x40]
cmp dword [eax], ecx
jge 0x1005625e
mov dword [ebp - 0xb0], 1
jmp 0x10056265
and dword [ebp - 0xb0], 0
push 1
lea ecx, [ebp - 0xf0]
call fcn.1001a399
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
jl 0x10056288
mov dword [ebp - 0xb8], 1
jmp 0x1005628f
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], 0
jmp 0x100562a8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jg 0x100563a0
mov dword [ebp - 0x160], 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0xf0]
call fcn.1001a399
cmp dword [eax], 0
je 0x10056384
mov dword [ebp - 0x124], 7
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x100562ff
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
mov dword [ebp - 0x40], 0
jmp 0x1005630f
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jg 0x10056382
mov dword [ebp - 0x44], 0xe9e84363
mov dword [ebp - 0x44], 0
jmp 0x1005632c
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jg 0x10056380
mov dword [ebp - 0x4c], 0xdf628589
mov dword [ebp - 0x4c], 0
jmp 0x10056349
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jg 0x1005637e
push dword [ebp - 0x44]
lea ecx, [ebp - 0xf0]
call fcn.1001a399
mov esi, eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0xf0]
call fcn.1001a399
mov ecx, dword [esi]
mov dword [eax], ecx
cmp dword [ebp - 0x124], 0
je 0x1005637c
jmp 0x1005637e
jmp 0x10056342
jmp 0x10056325
jmp 0x10056308
jmp 0x1005639b
mov dword [ebp - 0xc0], 1
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
jmp 0x100562a1
jmp 0x100563a9
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x118], 0x96d402da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.1001a394
push 2
mov ecx, dword [ebp - 0x128]
call fcn.1001a399
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret