Function at 0x476340
Capabilities:
Contain obfuscated stackstrings
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53ee38
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
push 0x17
push 0x1f6
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
call fcn.004977c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
mov ebp, eax
call fcn.004977c0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
push 1
push eax
call fcn.00517d9e
add esp, 8
push ebx
mov edi, eax
push ebp
mov byte [edi + ebx], 0
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push edi
call fcn.00518f10
add esp, 0xc
push 0x8000100
push edi
lea ecx, [esp + 0x1c]
call fcn.00488730
push edi
mov dword [esp + 0x5c], 0
call fcn.005168e3
lea edi, [esi + 0x26]
add esp, 4
mov ecx, edi
call fcn.00488530
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x5aba4c
call fcn.004886b0
lea ecx, [esp + 0x2c]
push ecx
call fcn.00489080
add esp, 0xc
mov ecx, edi
mov byte [esp + 0x58], 1
call fcn.00488530
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x5abaa4
call fcn.004886b0
lea edx, [esp + 0x28]
push edx
call fcn.00489080
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 2
call fcn.00488940
push str._li__a_href_________a___li__n
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 3
call fcn.00488980
cmp byte [esi + 0x20], 0
mov bl, 4
mov byte [esp + 0x58], bl
je 0x47654d
mov ecx, edi
call fcn.00488530
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x5aba58
call fcn.004886b0
lea eax, [esp + 0x30]
push eax
call fcn.00489080
add esp, 8
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x60], 5
call fcn.004886b0
lea eax, [esp + 0x44]
push eax
call fcn.00475a50
add esp, 8
mov ecx, eax
mov byte [esp + 0x58], 6
call fcn.00488530
push eax
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.004886b0
lea eax, [esp + 0x40]
push eax
call fcn.00475b00
add esp, 8
mov ecx, eax
mov byte [esp + 0x5c], 7
call fcn.00488530
push eax
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.004886b0
lea eax, [esp + 0x40]
push eax
call fcn.00489080
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 8
call fcn.00488d00
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 7
call fcn.004884e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 6
call fcn.004884e0
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 5
call fcn.004884e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], bl
call fcn.004884e0
cmp byte [esi + 0x21], 0
je 0x47663b
mov ecx, edi
call fcn.00488530
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x5aba68
call fcn.004886b0
lea ecx, [esp + 0x30]
push ecx
call fcn.00489080
add esp, 8
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x60], 9
call fcn.004886b0
lea eax, [esp + 0x38]
push eax
call fcn.00475a50
add esp, 8
mov ecx, eax
mov byte [esp + 0x58], 0xa
call fcn.00488530
push eax
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.004886b0
lea eax, [esp + 0x40]
push eax
call fcn.00475b00
add esp, 8
mov ecx, eax
mov byte [esp + 0x5c], 0xb
call fcn.00488530
push eax
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.004886b0
lea eax, [esp + 0x4c]
push eax
call fcn.00489080
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 0xc
call fcn.00488d00
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0xb
call fcn.004884e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0xa
call fcn.004884e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 9
call fcn.004884e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], bl
call fcn.004884e0
cmp byte [esi + 0x23], 0
je 0x476729
mov ecx, edi
call fcn.00488530
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x5aba78
call fcn.004886b0
lea ecx, [esp + 0x30]
push ecx
call fcn.00489080
add esp, 8
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x60], 0xd
call fcn.004886b0
lea eax, [esp + 0x38]
push eax
call fcn.00475a50
add esp, 8
mov ecx, eax
mov byte [esp + 0x58], 0xe
call fcn.00488530
push eax
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.004886b0
lea eax, [esp + 0x40]
push eax
call fcn.00475b00
add esp, 8
mov ecx, eax
mov byte [esp + 0x5c], 0xf
call fcn.00488530
push eax
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.004886b0
lea eax, [esp + 0x4c]
push eax
call fcn.00489080
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 0x10
call fcn.00488d00
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0xf
call fcn.004884e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0xe
call fcn.004884e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 0xd
call fcn.004884e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], bl
call fcn.004884e0
cmp byte [esi + 0x22], 0
je 0x476817
mov ecx, edi
call fcn.00488530
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x5aba88
call fcn.004886b0
lea ecx, [esp + 0x30]
push ecx
call fcn.00489080
add esp, 8
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x60], 0x11
call fcn.004886b0
lea eax, [esp + 0x38]
push eax
call fcn.00475a50
add esp, 8
mov ecx, eax
mov byte [esp + 0x58], 0x12
call fcn.00488530
push eax
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.004886b0
lea eax, [esp + 0x40]
push eax
call fcn.00475b00
add esp, 8
mov ecx, eax
mov byte [esp + 0x5c], 0x13
call fcn.00488530
push eax
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.004886b0
lea eax, [esp + 0x4c]
push eax
call fcn.00489080
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 0x14
call fcn.00488d00
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0x13
call fcn.004884e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0x12
call fcn.004884e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 0x11
call fcn.004884e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], bl
call fcn.004884e0
lea ecx, [esp + 0x14]
call fcn.00488680
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.00438310
mov dword [esp + 0x40], eax
push 0
push ebp
xor eax, eax
push eax
mov ecx, edi
mov byte [esp + 0x64], 0x15
call fcn.00488530
push eax
mov ecx, 0x5abab8
call fcn.00488530
mov ecx, dword [esp + 0x50]
push eax
call fcn.00489670
push eax
call fcn.004d01e0
add esp, 0x18
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], bl
call fcn.00489930
lea ecx, [esp + 0x14]
call fcn.00488680
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x18]
mov edi, eax
xor ebp, ebp
call fcn.00438310
mov dword [esp + 0x40], eax
push ebp
push edi
push ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 0x16
call fcn.00488530
push eax
mov ecx, 0x5aba9c
call fcn.00488530
mov ecx, dword [esp + 0x50]
push eax
call fcn.00489670
push eax
call fcn.004d01e0
add esp, 0x18
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], bl
call fcn.00489930
lea ecx, [esp + 0x14]
call fcn.00488680
xor ecx, ecx
push ecx
push eax
push ecx
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.004886b0
lea ecx, [esp + 0x50]
push ecx
call fcn.00475a50
add esp, 8
mov edi, eax
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0x17
call fcn.00438310
mov ebp, eax
mov ecx, edi
mov byte [esp + 0x64], 0x18
call fcn.00488530
push eax
mov ecx, 0x5aba50
call fcn.00488530
push eax
mov ecx, ebp
call fcn.00489670
push eax
call fcn.004d01e0
add esp, 0x18
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0x17
call fcn.00489930
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], bl
call fcn.004884e0
lea ecx, [esp + 0x14]
call fcn.00488680
xor ecx, ecx
push ecx
push eax
push ecx
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.004886b0
lea ecx, [esp + 0x50]
push ecx
call fcn.00475b00
add esp, 8
mov edi, eax
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0x19
call fcn.00438310
mov ebp, eax
mov ecx, edi
mov byte [esp + 0x64], 0x1a
call fcn.00488530
push eax
mov ecx, 0x5abab4
call fcn.00488530
push eax
mov ecx, ebp
call fcn.00489670
push eax
call fcn.004d01e0
add esp, 0x18
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0x19
call fcn.00489930
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], bl
call fcn.004884e0
lea ecx, [esp + 0x14]
call fcn.00488680
xor ecx, ecx
push ecx
push eax
push ecx
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.004886b0
lea ecx, [esp + 0x50]
push ecx
call fcn.00475b00
add esp, 8
mov edi, eax
mov byte [esp + 0x64], 0x1b
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x24]
call fcn.00438310
mov ebp, eax
mov ecx, edi
mov byte [esp + 0x64], 0x1c
call fcn.00488530
push eax
mov ecx, 0x5abacc
call fcn.00488530
push eax
mov ecx, ebp
call fcn.00489670
push eax
call fcn.004d01e0
add esp, 0x18
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0x1b
call fcn.00489930
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], bl
call fcn.004884e0
lea ecx, [esp + 0x14]
call fcn.00488680
mov edi, eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
xor ebp, ebp
call fcn.00438310
mov dword [esp + 0x40], eax
push ebp
push edi
push ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 0x1d
call fcn.00488530
push eax
mov ecx, 0x5abaac
call fcn.00488530
mov ecx, dword [esp + 0x50]
push eax
call fcn.00489670
push eax
call fcn.004d01e0
add esp, 0x18
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], bl
call fcn.00489930
lea ecx, [esp + 0x14]
call fcn.00488680
xor ecx, ecx
push ecx
push eax
push ecx
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.004886b0
lea eax, [esp + 0x50]
push eax
call fcn.00475a50
add esp, 8
mov edi, eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0x1e
call fcn.00438310
mov ebp, eax
mov ecx, edi
mov byte [esp + 0x64], 0x1f
call fcn.00488530
push eax
mov ecx, 0x5aba98
call fcn.00488530
push eax
mov ecx, ebp
call fcn.00489670
push eax
call fcn.004d01e0
add esp, 0x18
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0x1e
call fcn.00489930
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], bl
call fcn.004884e0
lea ecx, [esp + 0x14]
call fcn.00488680
xor ecx, ecx
push ecx
push eax
push ecx
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.004886b0
lea eax, [esp + 0x50]
push eax
call fcn.00475b00
add esp, 8
mov edi, eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0x20
call fcn.00438310
mov ebp, eax
mov ecx, edi
mov byte [esp + 0x64], 0x21
call fcn.00488530
push eax
mov ecx, 0x5abad0
call fcn.00488530
push eax
mov ecx, ebp
call fcn.00489670
push eax
call fcn.004d01e0
add esp, 0x18
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0x20
call fcn.00489930
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], bl
call fcn.004884e0
lea ecx, [esp + 0x14]
call fcn.00488680
xor ecx, ecx
push ecx
push eax
push ecx
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.004886b0
lea eax, [esp + 0x50]
push eax
call fcn.00475b00
add esp, 8
mov edi, eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0x22
call fcn.00438310
mov ebp, eax
mov ecx, edi
mov byte [esp + 0x64], 0x23
call fcn.00488530
push eax
mov ecx, 0x5abac0
call fcn.00488530
push eax
mov ecx, ebp
call fcn.00489670
push eax
call fcn.004d01e0
add esp, 0x18
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0x22
call fcn.00489930
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], bl
call fcn.004884e0
lea ecx, [esp + 0x14]
call fcn.00488680
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x18]
mov edi, eax
xor ebp, ebp
call fcn.00438310
mov dword [esp + 0x40], eax
push ebp
push edi
push ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 0x24
call fcn.00488530
push eax
mov ecx, 0x5ababc
call fcn.00488530
mov ecx, dword [esp + 0x50]
push eax
call fcn.00489670
push eax
call fcn.004d01e0
add esp, 0x18
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], bl
call fcn.00489930
lea ecx, [esp + 0x14]
call fcn.00488680
mov edi, eax
mov eax, dword [esi + 0x2e]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00488fd0
add esp, 8
mov dword [esp + 0x40], eax
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 0x25
call fcn.00438310
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x40]
push ebp
push edi
push ebp
mov byte [esp + 0x64], 0x26
call fcn.00488530
push eax
mov ecx, 0x5abab0
call fcn.00488530
mov ecx, dword [esp + 0x48]
push eax
call fcn.00489670
push eax
call fcn.004d01e0
add esp, 0x18
mov byte [esp + 0x58], 0x25
lea ecx, [esp + 0x44]
call fcn.00489930
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], bl
call fcn.004884e0
lea ecx, [esp + 0x14]
call fcn.00488680
mov edi, eax
mov eax, dword [esi + 0x32]
add eax, 0x10
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00488fd0
add esp, 8
mov dword [esp + 0x40], eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 0x27
call fcn.00438310
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x40]
push ebp
push edi
push ebp
mov byte [esp + 0x64], 0x28
call fcn.00488530
push eax
mov ecx, 0x5aba54
call fcn.00488530
mov ecx, dword [esp + 0x48]
push eax
call fcn.00489670
push eax
call fcn.004d01e0
add esp, 0x18
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0x27
call fcn.00489930
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], bl
call fcn.004884e0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x5abac8
call fcn.004886b0
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.004757b0
push str.kCFAllocatorDefault
mov byte [esp + 0x5c], 0x29
call fcn.004d0400
add esp, 4
push 0x3f
push 0x8000100
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00488530
mov ecx, dword [esi]
push eax
push ecx
call fcn.004cff40
mov edi, eax
add esp, 0x10
mov dword [esp + 0x44], edi
push 0x55bda4
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 0x2a
call fcn.00488510
push eax
call fcn.0051972c
mov esi, eax
add esp, 8
test esi, esi
je 0x476e45
push esi
push 1
push edi
call fcn.004cf9d0
add esp, 4
push eax
push edi
call fcn.004cf9f0
add esp, 4
push eax
call fcn.005195e4
push esi
call fcn.00519409
add esp, 0x14
test edi, edi
je 0x476e52
push edi
call fcn.004cf770
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], bl
call fcn.004884e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 3
call fcn.004884e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 2
call fcn.004884e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 1
call fcn.004884e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 0
call fcn.004884e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 0xffffffff
call fcn.004884e0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret