Function at 0x404ed0
Capabilities:
Create directory
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x24]
push edi
push SetDlgItemInt
push 0
mov dword [ebp - 0x24], ecx
push esi
call fcn.0046071c
mov edx, dword [ebp - 0x24]
push 0
push esi
mov dword [esi + 0x24], edx
push dword [ebp + 8]
call fcn.004047a3
call fcn.00404970
lea ecx, [esi + 0x71c]
mov dword [ebp - 0xc], ecx
lea edx, [esi + 0xb58]
lea ecx, [esi + 0x828]
mov dword [ebp - 8], edx
lea edx, [esi + 0xc3c]
lea edi, [esi + 0xa64]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edx
push 0
call dword [sym.imp.USER32.DLL_GetSystemMetrics]
mov ebx, eax
push 1
call dword [sym.imp.USER32.DLL_GetSystemMetrics]
mov ecx, ebx
mov dword [esi + 4], 1
fld qword [0x46a92c]
mov dword [ebp - 0x20], eax
mov eax, ebx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esi + 0xac], eax
mov eax, dword [ebp - 0x20]
cdq
and edx, 3
add eax, edx
sar eax, 2
fstp qword [esi + 0xa4]
test ebx, ebx
mov dword [esi + 0xb0], eax
jns 0x404f8a
inc ecx
sar ecx, 1
mov edx, dword [ebp - 0x20]
add ecx, dword [esi + 0xac]
test edx, edx
mov dword [esi + 0xb4], ecx
jns 0x404fa0
inc edx
sar edx, 1
lea ecx, [esi + 0x1bb4]
add edx, dword [esi + 0xb0]
mov dword [esi + 0x6d8], 1
or dword [esi + 0x6d8], 0x80
or dword [esi + 0x6d8], 2
or dword [esi + 0x6d8], 4
or dword [esi + 0x6d8], 8
or dword [esi + 0x6d8], 0x20
mov dword [esi + 0xb8], edx
mov dword [esi + 0x678], 4
mov dword [esi + 0x67c], 4
mov dword [esi + 0x680], 5
mov dword [esi + 0x2c], 0x80070057
mov dword [esi + 0x684], 0x835
mov dword [esi + 0x690], 0x899
mov dword [esi + 0x694], 0x8fd
mov dword [esi + 0x68c], 0
mov dword [esi + 0x6b8], 0
mov dword [esi + 0x6c8], 0
mov dword [esi + 0x6c0], 0
mov dword [esi + 0x6c4], 1
mov dword [esi + 0x6cc], 0
or dword [esi + 0x6d8], 0x40
push 0x46a94c
fld qword [0x46a934]
fstp qword [esi + 0x6dc]
fld qword [0x46a93c]
fstp qword [esi + 0x6e4]
fld qword [0x46a944]
mov dword [esi + 0x700], 0xf
fstp qword [esi + 0x6ec]
mov dword [esi + 0x6d4], 1
mov dword [esi + 0x6a4], 0x47f
mov dword [esi + 0x6ac], 0x3b2
mov dword [esi + 0x6b0], 0x39a
mov dword [esi + 0x6b4], 0x39d
mov dword [esi + 0x6a8], 0x46b
mov dword [esi + 0x708], 0x49e
mov dword [esi + reloc.USER32.DLL_GetClassLongA], 0x2c
fld qword [0x46a4fc]
fstp qword [esi + 0x6f4]
mov dword [esi + 0x6fc], 1
mov dword [esi + 0x1cb8], 0x4ac
push ecx
call fcn.004605d0
add esp, 0x20
mov edx, dword [esi + 0x70c]
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x40513e
pop edi
mov eax, 0xffffff9f
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x46a714
push dword [ebp - 0x14]
call fcn.004605d0
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov dword [edx + 0x24], ecx
mov eax, 1
mov ecx, 2
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], ecx
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], ecx
mov dword [edx + 0x9c], 0x1c3
mov dword [edx + 0xa0], 0x1c5
mov dword [edx + 0x78], eax
mov dword [edx + 0xa8], eax
mov dword [edx + 0xb0], eax
mov dword [edx + 0xb4], eax
fld qword [0x46a95c]
push 0x12e
fstp qword [edx + 0x7c]
fld qword [0x46a95c]
push edx
fstp qword [edx + 0x84]
fld qword [0x46a95c]
fstp qword [edx + 0x8c]
fld qword [0x46a95c]
fstp qword [edx + 0x94]
push dword [esi + 0x714]
call fcn.00460310
push 0x12e
push dword [ebp - 0x14]
push dword [esi + 0x710]
call fcn.00460310
push 0x12e
push dword [ebp - 0x14]
push dword [esi + 0x710]
call fcn.00460310
push dword [ebp - 0x1c]
push esi
push dword [ebp + 8]
call fcn.00404c30
mov ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 0x69c]
mov dword [ecx + 0x69c], edx
mov edx, dword [ebp - 0x18]
fld qword [0x46a8ac]
fstp qword [edx + 0x38]
fld qword [0x46a8ac]
fstp qword [edx + 0x20]
fld qword [0x46a964]
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x28], 0
fstp qword [edx + 0x30]
mov dword [edx + 0x2c], 0
mov dword [edx + 0x44], 0x493
mov dword [edx + 0x4c], 0x3ae
fld qword [0x46a96c]
mov edx, 5
fstp qword [edi + 0x78]
mov dword [ecx + 0x38], 0
fld qword [0x46a974]
push edx
fstp qword [ecx]
fld qword [0x46a95c]
fstp qword [ecx + 8]
fld qword [0x46a97c]
mov dword [ecx + 0x40], 0
fstp qword [ecx + 0x10]
mov dword [ecx + 0x44], 0
fld qword [0x46a984]
fstp qword [ecx + 0x4c]
fld qword [0x46a98c]
fstp qword [ecx + 0x54]
fld qword [0x46a994]
fstp qword [ecx + 0x5c]
fld qword [0x46a99c]
fstp qword [ecx + 0x64]
fld qword [0x46a9a4]
fstp qword [ecx + 0x74]
fld qword [0x46a9a4]
mov dword [ecx + 0xa4], 0x166
fstp qword [ecx + 0x6c]
mov dword [ecx + 0x1c], edx
call fcn.0041ce28
mov ecx, dword [ebp - 0xc]
mov edx, 3
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x20], 0x19
mov dword [ecx + 0xa8], edx
mov dword [ecx + 0x48], 0x14
mov dword [ecx + 0xb8], 0x162
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x104], 0
mov dword [ecx + 0xac], 1
mov dword [ecx + 0xb0], 0x3a0
mov dword [ecx + 0xbc], 1
fld qword [0x46a9ac]
fstp qword [ecx + 0x9c]
fld qword [0x46a9ac]
xor eax, eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov eax, 0xa
fstp qword [ecx + 0x94]
mov dword [ecx + 0xb4], 0x3e8
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x30], 0x1f4
mov dword [ecx + 0x34], eax
mov dword [ecx + 0xc4], 1
mov dword [ecx + 0xc8], 0
mov dword [ecx + 0xcc], 1
fld qword [0x46a9b4]
fstp qword [ecx + 0x7c]
fld qword [0x46a9bc]
mov dword [ecx + 0xd0], edx
fstp qword [ecx + 0x84]
fld qword [0x46a964]
mov dword [ecx + 0xd4], 1
fstp qword [ecx + 0x8c]
mov dword [ecx + 0xd8], eax
fld qword [0x46a9c4]
mov dword [ecx + 0xdc], 0
fstp qword [ecx + 0xec]
mov dword [ecx + 0xe0], 0
mov dword [ecx + 0xe4], 0
mov dword [ecx + 0xe8], 0
fld qword [0x46a9b4]
fstp qword [ecx + 0xf4]
fld qword [0x46a9a4]
fstp qword [ecx + 0xfc]
mov ecx, dword [ebp - 0x10]
fld qword [0x46a9cc]
fstp qword [ecx]
fld qword [0x46a984]
fstp qword [ecx + 8]
fld qword [0x46a9c4]
mov dword [ecx + 0x20], 0
fstp qword [ecx + 0x10]
mov dword [ecx + 0x24], 0
fld qword [0x46a9d4]
fstp qword [ecx + 0x18]
fld qword [0x46a95c]
fstp qword [ecx + 0x28]
fld qword [0x46a9dc]
fstp qword [ecx + 0x30]
fld qword [0x46a9e4]
mov dword [ecx + 0x40], 0
fstp qword [ecx + 0x38]
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x78], 0x400
mov dword [ecx + 0x7c], 2
mov dword [ecx + 0x84], 0x3a5
mov dword [ecx + 0x80], 0x3a6
mov dword [ecx + 0x88], edx
mov dword [ecx + 0x90], 0x606
mov dword [ecx + 0x98], 0
mov dword [ecx + 0x9c], 1
mov dword [ecx + 0xb4], 1
fld qword [0x46a9ac]
fstp qword [ecx + 0x68]
fld qword [0x46a9ac]
mov dword [ecx + 0xa0], edx
fstp qword [ecx + 0x70]
mov dword [ecx + 0xa8], 0
mov dword [ecx + 0xac], 0
mov dword [ecx + 0x94], 0x396
mov dword [ecx + 0xb8], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
fld qword [0x46a96c]
fstp qword [edi + 0x70]
fld qword [0x46a96c]
xor ebx, ebx
mov dword [edi + 0x88], 0
fstp qword [edi + 0x78]
mov dword [edi + 0x8c], 0
mov dword [edi + 0xe0], 0
add esp, 0x3c
fldz
lea edx, [edi + ebx*8]
lea ecx, [edi + ebx*8]
inc ebx
cmp ebx, 0xa
fst qword [edx + 0x90]
fstp qword [ecx + 8]
jb 0x4055ae
cmp dword [esi + 0x24], 0x3d
jg 0x4055d5
mov esi, dword [ebp - 8]
mov edi, 0xff3434
jmp 0x4055e2
push 0xd
mov esi, dword [ebp - 8]
call dword [sym.imp.USER32.DLL_GetSysColor]
mov edi, eax
mov edx, 0x40ff00
mov ecx, 0xffff
mov eax, 0x4080ff
mov dword [esi + 0x80], edi
mov dword [esi + 0x44], 0x2d2d00
mov dword [esi + 0x3c], 0x400000
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], 0xfa9696
mov dword [esi + 0x4c], 0x8000
mov dword [esi + 0x54], 0xffffff
mov dword [esi + 0x50], 0xdcc878
mov dword [esi + 0x68], eax
mov dword [esi + 0x40], 0xdeffff
mov dword [esi + 0x84], 0xbebebe
mov dword [esi + 0x6c], 0xff0000
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x48], 0xe6aab4
mov dword [esi + 0x88], 0xff00
mov dword [esi + 0x58], 0xa0ff
mov dword [esi + 0x8c], 0xde00
mov dword [esi + 0x90], 0x6464ff
push 4
call dword [sym.imp.USER32.DLL_GetSysColor]
xor ebx, ebx
mov dword [esi + 0x94], eax
mov dword [esi + 0xd8], 1
mov dword [ebp - 4], 0xff
movzx edx, byte [ebp - 4]
xor ecx, ecx
mov cl, byte [ebp - 4]
shl edx, 0x10
shl ecx, 8
movzx edi, byte [ebp - 4]
or ecx, edi
or edx, ecx
lea ecx, [esi + ebx*4]
inc ebx
add dword [ebp - 4], 0xfffffff0
cmp ebx, 0x10
mov dword [ecx + 0x98], edx
jb 0x40569b
push 0x46a9ec
mov eax, 1
lea edx, [esi + 0x1c]
mov byte [esi + 0x18], al
mov byte [esi + 0x19], 2
mov byte [esi + 0x1a], al
mov dword [esi], 0xfffffff5
mov dword [esi + 0x10], 0x190
mov byte [esi + 0x1b], 0
push edx
call fcn.004605d0
push 0
push 0x46a9f4
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret