Function at 0x436236
Capabilities:
Create directory

Disassembly:
push 0x26c
mov eax, 0x49821b
call fcn.00479e3f
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd8], eax
xor ebx, ebx
push str.defaultbanner_
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.004040e1
lea eax, [ebp - 0xf4]
push eax
push ecx
mov byte [ebp - 4], 1
call fcn.00441957
add esp, 4
call fcn.00441b90
push 0xffffffffffffffff
push ebx
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00412d59
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0xf4]
mov byte [ebp - 4], 1
call fcn.004012a8
lea eax, [ebp - 0x4c]
lea esi, [ebp - 0x84]
call fcn.004011a0
push str..png
mov eax, esi
push eax
mov byte [ebp - 4], 3
call fcn.00412d3b
push str..html
lea eax, [ebp - 0x4c]
push eax
call fcn.00412d3b
lea esi, [ebp - 0xc4]
call fcn.004423d8
lea esi, [ebp - 0xc8]
mov byte [ebp - 4], 4
call fcn.004423d8
lea esi, [ebp - 0xcc]
mov byte [ebp - 4], 5
call fcn.004423d8
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 6
call fcn.0044288b
push str.DivXSetupDefaultBanner
lea esi, [ebp - 0xd0]
call fcn.004423fd
mov eax, esi
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 7
call fcn.00442544
mov eax, esi
mov byte [ebp - 4], 6
call fcn.004424c3
push ebx
lea eax, [ebp - 0xc4]
call fcn.004427cc
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43639e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x43639e
lea eax, [ebp - 0xcc]
call fcn.004424c3
lea eax, [ebp - 0xc8]
call fcn.004424c3
lea eax, [ebp - 0xc4]
call fcn.004424c3
push ebx
push edi
lea esi, [ebp - 0x84]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x4c]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp + 0xc]
call fcn.004012a8
xor al, al
call fcn.00479ec2
ret 0x20
lea eax, [ebp - 0xc4]
call fcn.004427cc
mov esi, dword [ebp - 0xc8]
push eax
call fcn.0040410d
lea eax, [ebp - 0x4c]
push eax
lea edi, [ebp - 0xd0]
call fcn.0044243d
mov eax, edi
push eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 8
call fcn.00442544
mov eax, edi
mov byte [ebp - 4], 6
call fcn.004424c3
lea eax, [ebp - 0x30]
push eax
push ecx
mov edi, 0x83
call fcn.00441957
add esp, 4
call fcn.00441b90
push 0x4a274c
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.00405844
test eax, eax
jne 0x436413
dec edi
jmp 0x4364a1
push 0x4a2770
lea esi, [ebp - 0x30]
call fcn.00405844
test eax, eax
jne 0x43642b
mov edi, 0x84
jmp 0x4364a1
push 0x4a2794
lea esi, [ebp - 0x30]
call fcn.00405844
test eax, eax
jne 0x436443
mov edi, 0x85
jmp 0x4364a1
push 0x4a27b8
lea esi, [ebp - 0x30]
call fcn.00405844
test eax, eax
jne 0x43645b
mov edi, 0x86
jmp 0x4364a1
push str.pt_br
lea esi, [ebp - 0x30]
call fcn.00405844
test eax, eax
jne 0x436473
mov edi, 0x87
jmp 0x4364a1
push str.zh_cn
lea esi, [ebp - 0x30]
call fcn.00405844
test eax, eax
jne 0x43648b
mov edi, 0x88
jmp 0x4364a1
push str.zh_tw
lea esi, [ebp - 0x30]
call fcn.00405844
test eax, eax
jne 0x4364a1
mov edi, 0x89
mov esi, dword [ebp - 0xd8]
movzx eax, di
push 0x17
push eax
push dword [esi + 0xb0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, eax
cmp ecx, ebx
jne 0x4364d1
xor edi, edi
inc edi
push ebx
push edi
lea esi, [ebp - 0x30]
call fcn.004012a8
jmp 0x436352
lea eax, [ebp - 0xc8]
call fcn.004427cc
push eax
push ecx
push dword [esi + 0xb0]
call fcn.00435c43
lea eax, [ebp - 0xc4]
call fcn.004427cc
mov esi, dword [ebp - 0xcc]
push eax
call fcn.0040410d
lea eax, [ebp - 0x84]
push eax
lea edi, [ebp - 0xd0]
call fcn.0044243d
mov eax, edi
push eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xa
call fcn.00442544
mov eax, edi
mov byte [ebp - 4], 9
call fcn.004424c3
push str.DEFAULTBANNER_PNG_
lea eax, [ebp - 0xa0]
call fcn.004040e1
lea eax, [ebp - 0xd4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.0040445d
mov esi, eax
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x30]
call fcn.0040447d
mov edi, eax
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x30]
call fcn.0040445d
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0xfc]
call fcn.0043a495
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x30]
lea esi, [ebp - 0xa0]
call fcn.00412d59
cmp dword [ebp - 0x88], 8
mov eax, dword [ebp - 0x9c]
jae 0x4365b4
lea eax, [ebp - 0x9c]
mov esi, dword [ebp - 0xd8]
push 0x4a14cc
push eax
push dword [esi + 0xb0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, eax
cmp ecx, ebx
jne 0x4365e7
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0xa0]
call fcn.004012a8
jmp 0x4364c2
lea eax, [ebp - 0xcc]
call fcn.004427cc
push eax
push ecx
push dword [esi + 0xb0]
call fcn.00435c43
push 0x4a2d84
lea eax, [ebp - 0x68]
call fcn.004040e1
push str._private
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0xc
call fcn.004040e1
mov esi, eax
lea eax, [ebp - 0x240]
push eax
mov byte [ebp - 4], 0xd
call fcn.00430229
pop ecx
lea ecx, [ebp - 0x68]
push ecx
push eax
lea eax, [ebp - 0x208]
push eax
mov byte [ebp - 4], 0xe
call fcn.00412ab8
add esp, 0xc
push 0x4a08a0
push eax
lea eax, [ebp - 0x1d0]
push eax
mov byte [ebp - 4], 0xf
call fcn.00412a73
add esp, 0xc
lea ecx, [ebp - 0x68]
push ecx
push eax
lea eax, [ebp - 0x198]
push eax
mov byte [ebp - 4], 0x10
call fcn.00412ab8
add esp, 0xc
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x17c]
push eax
mov byte [ebp - 4], 0x11
call fcn.00412ab8
add esp, 0xc
lea ecx, [ebp - 0x68]
push ecx
push eax
lea eax, [ebp - 0x1ec]
push eax
mov byte [ebp - 4], 0x12
call fcn.00412ab8
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x224]
push eax
mov byte [ebp - 4], 0x13
call fcn.00412ab8
add esp, 0xc
lea ecx, [ebp - 0x68]
push ecx
push eax
lea eax, [ebp - 0x160]
push eax
mov byte [ebp - 4], 0x14
call fcn.00412ab8
add esp, 0xc
push 0x4a08bc
push eax
lea eax, [ebp - 0x25c]
push eax
mov byte [ebp - 4], 0x15
call fcn.00412a73
add esp, 0xc
lea ecx, [ebp - 0x68]
push ecx
push eax
lea eax, [ebp - 0x1b4]
push eax
mov byte [ebp - 4], 0x16
call fcn.00412ab8
add esp, 0xc
push 0x4a08d8
push eax
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 0x17
call fcn.00412a73
add esp, 0xc
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x1b4]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x25c]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x160]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x224]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x1ec]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x17c]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x198]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x1d0]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x208]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x240]
call fcn.004012a8
mov byte [ebp - 4], 0x23
push ebx
push edi
lea esi, [ebp - 0x278]
call fcn.004012a8
lea eax, [ebp - 0xc8]
call fcn.004427cc
push eax
lea eax, [ebp - 0xf4]
call fcn.004040e1
push str.DefaultBannerHtmlPath
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 0x24
call fcn.004040e1
mov byte [ebp - 4], 0x25
cmp dword [ebp - 0xa4], 8
mov eax, dword [ebp - 0xb8]
jae 0x4367fd
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x128]
call fcn.004040e1
lea eax, [ebp - 0xf4]
push eax
lea edi, [ebp - 0x144]
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x26
call fcn.0043bd30
neg al
sbb al, al
pop ecx
xor edi, edi
push ebx
inc al
inc edi
push edi
lea esi, [ebp - 0x128]
mov byte [ebp - 0xbd], al
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x144]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0xf4]
call fcn.004012a8
cmp byte [ebp - 0xbd], bl
je 0x4368e9
mov byte [ebp - 0xbd], bl
push ebx
push edi
lea esi, [ebp - 0xbc]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x68]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0xa0]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x30]
call fcn.004012a8
lea eax, [ebp - 0xcc]
call fcn.004424c3
lea eax, [ebp - 0xc8]
call fcn.004424c3
lea eax, [ebp - 0xc4]
call fcn.004424c3
push ebx
push edi
lea esi, [ebp - 0x84]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp - 0x4c]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp + 0xc]
call fcn.004012a8
mov al, byte [ebp - 0xbd]
jmp 0x436396
mov byte [ebp - 0xbd], 1
jmp 0x43686e