Function at 0x10025810
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
lea ecx, [eax + 0xf78]
push edi
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x30], ecx
cmp eax, ecx
ja case.0x100258e3.237
mov esi, dword [ebp - 0x14]
jmp 0x10025843
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
cmp edi, 0x3468
ja 0x10025b6e
je 0x10025b50
cmp edi, 0x2c95
ja 0x10025a8f
je 0x100258b7
lea eax, [edi - 0x2b75]
cmp eax, 0xd8
ja case.0x1002587e.11126
movzx eax, byte [eax + 0x10025d30]
jmp dword [eax*4 + 0x10025d1c]
mov dword [ebp - 0x3a], 0x67
jmp case.0x1002587e.11126
mov dword [ebp - 0x40], 0x690072
jmp case.0x1002587e.11126
mov dword [ebp - 0x44], 0x740053
jmp case.0x1002587e.11126
mov edx, 0x6e
mov word [ebp - 0x3c], dx
jmp case.0x1002587e.11126
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10025a6b
xor ebx, ebx
lea ebx, [ebx]
cmp ebx, 0xed
ja case.0x100258e3.1
movzx eax, byte [ebx + 0x10025e20]
jmp dword [eax*4 + 0x10025e0c]
mov esi, 0xea2
nop
cmp esi, 0x100a
ja 0x100259a8
je 0x1002599a
cmp esi, 0xf56
ja 0x1002596d
je 0x1002594f
mov eax, esi
sub eax, 0xea2
je 0x10025946
sub eax, 0x5a
jne 0x10025a31
push 1
lea ecx, [ebp - 0x2c]
push 0x10042cdc
push ecx
call fcn.1002a900
push 6
lea edx, [ebp - 0x2b]
push str.ddFon
push edx
call fcn.1002aca0
add esp, 0x18
jmp 0x10025a31
mov byte [ebp - 0x2c], 0
jmp 0x10025a31
push 1
lea ecx, [ebp - 0x2c]
mov eax, 0x74
push 0x10042cd8
push ecx
mov word [ebp - 0x26], ax
call fcn.1002a900
jmp 0x10025a2e
cmp esi, 0xfb0
jne 0x10025a31
mov al, byte [0x10042cd6]
mov dx, word [0x10042cd4]
mov ecx, 0x6f
mov byte [ebp - 0x22], al
mov word [ebp - 0x24], dx
mov word [ebp - 0x22], cx
jmp 0x10025a31
mov edx, 0x75
mov word [ebp - 0x21], dx
jmp 0x10025a31
cmp esi, 0x1118
ja 0x10025a12
je 0x10025a07
mov eax, esi
sub eax, 0x1064
je 0x100259e6
sub eax, 0x5a
jne 0x10025a31
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x1f], 0x206563
dec edi
jmp 0x100259d0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100259d0
mov ax, word [0x10042ce8]
mov word [edi], ax
mov edi, dword [ebp - 0x10]
jmp 0x10025a31
lea edi, [ebp - 0x2c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100259f0
mov cx, word [0x10041c30]
mov word [edi], cx
mov edi, dword [ebp - 0x10]
jmp 0x10025a31
mov edx, 0x70
mov word [ebp - 0x1b], dx
jmp 0x10025a31
cmp esi, 0x1172
jne 0x10025a31
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x244]
push edx
call fcn.1002a1e2
add esp, 0xc
add esi, 0x5a
cmp esi, 0x1172
jbe 0x100258f0
jmp case.0x100258e3.1
mov eax, dword [sym.imp.GDI32.dll_AddFontResourceW]
mov dword [ebp - 0x34], eax
jmp case.0x100258e3.1
mov byte [ebp - 4], 1
add ebx, 0x4f
lea ecx, [ebx + 0x6942]
cmp ecx, 0x6a2f
jbe 0x100258d0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
push 0x104
lea edx, [ebp - 0x44c]
push edx
push 7
lea eax, [ebp - 0x44]
push eax
push 0x800
push 0x7f
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
jmp case.0x1002587e.11126
cmp edi, 0x33d8
ja 0x10025b2e
je 0x10025b17
cmp edi, 0x2cdd
je 0x10025abd
cmp edi, 0x3390
jne case.0x1002587e.11126
mov dword [ebp - 8], 0
jmp case.0x1002587e.11126
mov eax, 0xd82
cmp eax, eax
je 0x10025cf5
add eax, 0xa
cmp eax, 0xd82
jbe 0x10025ac4
cmp byte [esi], 0
je case.0x1002587e.11126
lea ecx, [ecx]
mov ecx, 0x20bc
jmp 0x10025af0
mov eax, ecx
sub eax, 0x20bc
je 0x10025bff
sub eax, 0x24
je 0x10025bef
sub eax, 0x24
jne 0x10025c0c
inc dword [ebp - 0x18]
jmp 0x10025c0c
movzx ecx, byte [ebx]
push ecx
call fcn.100190c0
movzx edx, al
add esp, 4
mov dword [ebp - 8], edx
jmp case.0x1002587e.11126
cmp edi, 0x3420
jne case.0x1002587e.11126
mov eax, dword [ebp - 8]
mov ecx, eax
shl ecx, 4
sub ecx, eax
add ecx, ecx
add ecx, ecx
mov dword [ebp - 8], ecx
jmp case.0x1002587e.11126
movzx edx, byte [ebx + 1]
push edx
call fcn.100190c0
movzx eax, al
add eax, dword [ebp - 8]
add esp, 4
imul eax, eax, 0x4b
mov dword [ebp - 8], eax
jmp case.0x1002587e.11126
cmp edi, 0x4b8f
ja 0x10025c2c
je 0x10025ad4
cmp edi, 0x4aff
ja 0x10025bd7
je 0x10025bc6
mov eax, edi
sub eax, 0x34b0
je 0x10025ba6
sub eax, 0x48
jne case.0x1002587e.11126
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ebx + 2]
push ecx
call fcn.100190c0
movzx edx, al
mov eax, dword [ebp - 8]
add esp, 4
add eax, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
jmp case.0x1002587e.11126
mov esi, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], 0
jmp case.0x1002587e.11126
cmp edi, 0x4b47
jne case.0x1002587e.11126
mov dword [ebp - 0x18], 0
jmp case.0x1002587e.11126
mov eax, dword [ebp - 0xc]
test al, 1
je 0x10025bfa
inc eax
mov dword [ebp - 0xc], eax
lea esi, [eax + ebx]
jmp 0x10025c0c
movzx eax, byte [esi]
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax + 0xc]
mov dword [ebp - 0xc], eax
add ecx, 0x24
cmp ecx, 0x2104
jbe 0x10025af0
cmp byte [esi], 0
jne 0x10025ae0
mov dword [ebp - 0x14], esi
jmp case.0x1002587e.11126
mov eax, edi
sub eax, 0x4bd7
je 0x10025cd3
sub eax, 0x48
je 0x10025cc8
sub eax, 0x2fc
jne case.0x1002587e.11126
test ebx, ebx
jne 0x10025c7c
mov ecx, 0x6717
mov eax, ecx
sub eax, 0x6717
je 0x10025c6a
sub eax, 0x55
je case.0x100258e3.237
jmp 0x10025c71
mov dword [ebp - 4], 0x11
add ecx, 0x55
cmp ecx, 0x676c
jbe 0x10025c56
cmp dword [ebx + 0x48], 0
je 0x10025c97
mov eax, 0x1af5
cmp eax, eax
je 0x10025d03
add eax, 0x53
cmp eax, 0x1af5
jbe 0x10025c89
jmp case.0x1002587e.11126
mov ecx, 0x758a
lea esp, [esp]
mov eax, ecx
sub eax, 0x758a
je 0x10025cb4
sub eax, 0x2f
je case.0x100258e3.237
jmp 0x10025cbb
mov dword [ebp - 4], 0x10
add ecx, 0x2f
cmp ecx, 0x75b9
jbe 0x10025ca0
jmp case.0x1002587e.11126
test ecx, ecx
je case.0x1002587e.11126
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
jmp case.0x1002587e.11126
test edx, edx
je case.0x1002587e.11126
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
add edi, 0x48
mov dword [ebp - 0x10], edi
cmp edi, dword [ebp - 0x30]
jbe 0x10025840
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0xbc]
mov edx, dword [ebx + 0x48]
push ecx
call edx
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret