Function at 0x441f80
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478783
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebx + 0x418], eax
mov eax, dword [0x47a6d0]
mov dword [ebx + 0xc4], eax
mov ecx, dword [0x47a6d4]
mov eax, dword [ebx + 0x410]
mov dword [ebx + 0xc8], ecx
mov edx, dword [0x47a6d8]
inc edx
test eax, eax
mov dword [ebx + 0xcc], edx
jne 0x441ff5
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov dword [ebx + 0x410], 1
lea eax, [ebp - 0x1b8]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x1b8]
push 0x5c
push ecx
call fcn.0045bf47
mov edi, eax
add esp, 8
test edi, edi
je 0x44203b
lea esi, [ebx + 0xd0]
lea edx, [ebp - 0x1b8]
push edx
mov ecx, esi
mov byte [edi], 0
call fcn.0046a566
inc edi
push edi
jmp 0x44204f
lea esi, [ebx + 0xd0]
mov ecx, esi
call fcn.0046a3b4
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebx + 0xd4]
call fcn.0046a566
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x401002
push section..text
push section..text
lea ecx, [ebx + 0x37c]
call fcn.00430420
push 0x401002
push section..text
push section..text
lea ecx, [ebx + 0x390]
call fcn.00430420
push 0x401002
push section..text
push section..text
lea ecx, [ebx + 0x3c4]
call fcn.00430420
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x547e0c
push 0
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
push 0
call fcn.0046ca46
push eax
push 0x80
lea ecx, [ebx + 0x3d4]
call fcn.0046c361
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x234], eax
mov eax, dword [0x47a6e4]
test eax, eax
jbe 0x442137
mov ecx, dword [str.48_54_54_50_2F_31_2E_31_20_34_30_34_20_4E_6F_74_20_46_6F_75_6E_64_0D_0A_43_6F_6E_74_65_6E_74_2D_4C_65_6E_67_74_68_3A_20_31_33_30_38_0D_0A_43_6F_6E_74_65_6E_74_2D_54_79_70_65_3A_20_61_70_70_6C_69_63_61_74_69_6F_6E_2F_6F_63_74_65_74_2D_73_74_72_65_61_6D_0D_0A_53_65_72_76_65_72_3A_20_4D_69_63_72_6F_73_6F_66_74_2D_49_49_53_2F_36_2E_30_0D_0A_58_2D_50_6F_77_65_72_65_64_2D_42_79_3A_20_41_53_50_2E_4E_45_54_0D_0A_44_61_74_65_3A_20_53_75_6E_2C_20_30_32_20_4F_63_74_20_32_30_31_31_20_31_34_3A_35_37_3A_33_31_20_47_4D_54_0D_0A_0D_0A_3C_21_44_4F_43_54_59_50_45_20_48_54_4D_4C_20_50_55_42_4C_49_43_20_22_2D_2F_2F_57_33_43_2F_2F_44_54_44_20_48_54_4D_4C_20_34_2E_30_31_2F_2F_45_4E_22_20_22_68_74_74_70_3A_2F_2F_77_77_77_2E_77_33_2E_6F_72_67_2F_54_52_2F_68_74_6D_6C_34_2F_73_74_72_69_63_74_2E_64_74_64_22_3E_0D_0A_3C_48_54_4D_4C_3E_3C_48_45_41_44_3E_3C_54_49_54_4C_45_3E_CE_DE_B7_A8_D5_D2_B5_BD_B8_C3_D2_B3_3C_2F_54_49_54_4C_45_3E_0D_0A_3C_4D_45_54_41_20_48_54_54_50_2D_45_51_55_49_56_3D_22_43_6F_6E_74_65_6E_74_2D_54_79_70_65_22_20_43_6F_6E_74_65_6E_74_3D_22_74_65_78_74_2F_68_74_6D_6C_3B_20_63_68_61_72_73_65_74_3D_47_42_32_33_31_32_22_3E_0D_0A_3C_53_54_59_4C_45_20_74_79_70_65_3D_22_74_65_78_74_2F_63_73_73_22_3E_0D_0A_20_20_42_4F_44_59_20_7B_20_66_6F_6E_74_3A_20_39_70_74_2F_31_32_70_74_20_CB_CE_CC_E5_20_7D_0D_0A_20_20_48_31_20_7B_20_66_6F_6E_74_3A_20_31_32_70_74_2F_31_35_70_74_20_CB_CE_CC_E5_20_7D_0D_0A_20_20_48_32_20_7B_20_66_6F_6E_74_3A_20_39_70_74_2F_31_32_70_74_20_CB_CE_CC_E5_20_7D_0D_0A_20_20_41_3A_6C_69_6E_6B_20_7B_20_63_6F_6C_6F_72_3A_20_72_65_64_20_7D_0D_0A_20_20_41_3A_76_69_73_69_74_65_64_20_7B_20_63_6F_6C_6F_72_3A_20_6D_61_72_6F_6F_6E_20_7D_0D_0A_3C_2F_53_54_59_4C_45_3E_0D_0A_3C_2F_48_45_41_44_3E_3C_42_4F_44_59_3E_3C_54_41_42_4C_45_20_77_69_64_74_68_3D_35_30_30_20_62_6F_72_64_65_72_3D_30_20_63_65_6C_6C_73_70_61_63_69_6E_67_3D_31_30_3E_3C_54_52_3E_3C_54_44_3E_0D_0A_0D_0A_3C_68_31_3E_CE_DE_B7_A8_D5_D2_B5_BD_B8_C3_D2_B3_3C_2F_68_31_3E_0D_0A_C4_FA_D5_FD_D4_DA_CB_D1_CB_F7_B5_C4_D2_B3_C3_E6_BF_C9_C4_DC_D2_D1_BE_AD_C9_BE_B3_FD_A1_A2_B8_FC_C3_FB_BB_F2_D4_DD_CA_B1_B2_BB_BF_C9_D3_C3_A1_A3_0D_0A_3C_68_72_3E_0D_0A_3C_70_3E_C7_EB_B3_A2_CA_D4_D2_D4_CF_C2_B2_D9_D7_F7_A3_BA_3C_2F_70_3E_0D_0A_3C_75_6C_3E_0D_0A_3C_6C_69_3E_C8_B7_B1_A3_E4_AF_C0_C0_C6_F7_B5_C4_B5_D8_D6_B7_C0_B8_D6_D0_CF_D4_CA_BE_B5_C4_CD_F8_D5_BE_B5_D8_D6_B7_B5_C4_C6_B4_D0_B4_BA_CD_B8_F1_CA_BD_D5_FD_C8_B7_CE_DE_CE_F3_A1_A3_3C_2F_6C_69_3E_0D_0A_3C_6C_69_3E_C8_E7_B9_FB_CD_A8_B9_FD_B5_A5_BB_F7_C1_B4_BD_D3_B6_F8_B5_BD_B4_EF_C1_CB_B8_C3_CD_F8_D2_B3_A3_AC_C7_EB_D3_EB_CD_F8_D5_BE_B9_DC_C0_ED_D4_B1_C1_AA_CF_B5_A3_AC_CD_A8_D6_AA_CB_FB_C3_C7_B8_C3_C1_B4_BD_D3_B5_C4_B8_F1_CA_BD_B2_BB_D5_FD_C8_B7_A1_A3_0D_0A_3C_2F_6C_69_3E_0D_0A_3C_6C_69_3E_B5_A5_BB_F7_3C_61_20_68_72_65_66_3D_22_6A_61_76_61_73_63_72_69_70_74_3A_68_69_73_74_6F_72_79_2E_62_61_63_6B_28_31_29_22_3E_BA_F3_CD_CB_3C_2F_61_3E_B0_B4_C5_A5_B3_A2_CA_D4_C1_ED_D2_BB_B8_F6_C1_B4_BD_D3_A1_A3_3C_2F_6C_69_3E_0D_0A_3C_2F_75_6C_3E_0D_0A_3C_68_32_3E_48_54_54_50_20_B4_ED_CE_F3_20_34_30_34_20_2D_20_CE_C4_BC_FE_BB_F2_C4_BF_C2_BC_CE_B4_D5_D2_B5_BD_A1_A3_3C]
lea esi, [ebx + 0x198]
push ecx
mov ecx, esi
call fcn.00406630
mov edx, dword [0x47a6e4]
mov eax, dword [str.48_54_54_50_2F_31_2E_31_20_34_30_34_20_4E_6F_74_20_46_6F_75_6E_64_0D_0A_43_6F_6E_74_65_6E_74_2D_4C_65_6E_67_74_68_3A_20_31_33_30_38_0D_0A_43_6F_6E_74_65_6E_74_2D_54_79_70_65_3A_20_61_70_70_6C_69_63_61_74_69_6F_6E_2F_6F_63_74_65_74_2D_73_74_72_65_61_6D_0D_0A_53_65_72_76_65_72_3A_20_4D_69_63_72_6F_73_6F_66_74_2D_49_49_53_2F_36_2E_30_0D_0A_58_2D_50_6F_77_65_72_65_64_2D_42_79_3A_20_41_53_50_2E_4E_45_54_0D_0A_44_61_74_65_3A_20_53_75_6E_2C_20_30_32_20_4F_63_74_20_32_30_31_31_20_31_34_3A_35_37_3A_33_31_20_47_4D_54_0D_0A_0D_0A_3C_21_44_4F_43_54_59_50_45_20_48_54_4D_4C_20_50_55_42_4C_49_43_20_22_2D_2F_2F_57_33_43_2F_2F_44_54_44_20_48_54_4D_4C_20_34_2E_30_31_2F_2F_45_4E_22_20_22_68_74_74_70_3A_2F_2F_77_77_77_2E_77_33_2E_6F_72_67_2F_54_52_2F_68_74_6D_6C_34_2F_73_74_72_69_63_74_2E_64_74_64_22_3E_0D_0A_3C_48_54_4D_4C_3E_3C_48_45_41_44_3E_3C_54_49_54_4C_45_3E_CE_DE_B7_A8_D5_D2_B5_BD_B8_C3_D2_B3_3C_2F_54_49_54_4C_45_3E_0D_0A_3C_4D_45_54_41_20_48_54_54_50_2D_45_51_55_49_56_3D_22_43_6F_6E_74_65_6E_74_2D_54_79_70_65_22_20_43_6F_6E_74_65_6E_74_3D_22_74_65_78_74_2F_68_74_6D_6C_3B_20_63_68_61_72_73_65_74_3D_47_42_32_33_31_32_22_3E_0D_0A_3C_53_54_59_4C_45_20_74_79_70_65_3D_22_74_65_78_74_2F_63_73_73_22_3E_0D_0A_20_20_42_4F_44_59_20_7B_20_66_6F_6E_74_3A_20_39_70_74_2F_31_32_70_74_20_CB_CE_CC_E5_20_7D_0D_0A_20_20_48_31_20_7B_20_66_6F_6E_74_3A_20_31_32_70_74_2F_31_35_70_74_20_CB_CE_CC_E5_20_7D_0D_0A_20_20_48_32_20_7B_20_66_6F_6E_74_3A_20_39_70_74_2F_31_32_70_74_20_CB_CE_CC_E5_20_7D_0D_0A_20_20_41_3A_6C_69_6E_6B_20_7B_20_63_6F_6C_6F_72_3A_20_72_65_64_20_7D_0D_0A_20_20_41_3A_76_69_73_69_74_65_64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E_0D_0A_3C_6C_69_3E_B5_A5_BB_F7_3C_61_20_68_72_65_66_3D_22_6A_61_76_61_73_63_72_69_70_74_3A_68_69_73_74_6F_72_79_2E_62_61_63_6B_28_31_29_22_3E_BA_F3_CD_CB_3C_2F_61_3E_B0_B4_C5_A5_B3_A2_CA_D4_C1_ED_D2_BB_B8_F6_C1_B4_BD_D3_A1_A3_3C_2F_6C_69_3E_0D_0A_3C_2F_75_6C_3E_0D_0A_3C_68_32_3E_48_54_54_50_20_B4_ED_CE_F3_20_34_30_34_20_2D_20_CE_C4_BC_FE_BB_F2_C4_BF_C2_BC_CE_B4_D5_D2_B5_BD_A1_A3_3C]
add eax, edx
mov ecx, esi
push eax
call fcn.00406630
mov ebx, dword [0x47a6f8]
test ebx, ebx
jle 0x4421e5
mov edi, dword [ebp - 0x14]
lea esi, [ebx*4]
push esi
push 0
lea ecx, [edi + 0x170]
call fcn.00406a60
push esi
push 0
lea ecx, [edi + 0x184]
call fcn.00406a60
add edi, 0x148
push esi
push 0
mov ecx, edi
call fcn.00406a60
mov ecx, dword [ebp - 0x14]
push esi
add ecx, 0x15c
push 0
call fcn.00406a60
xor eax, eax
test ebx, ebx
jle 0x4421b4
mov edx, dword [0x47a6fc]
test eax, eax
mov ecx, dword [edx + eax*4]
jl 0x4421af
mov edx, dword [edi + 0x10]
shr edx, 2
cmp eax, edx
jge 0x4421af
mov edx, dword [edi + 8]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, ebx
jl 0x442192
xor eax, eax
test ebx, ebx
jle 0x4421e5
mov ecx, dword [0x47a700]
test eax, eax
mov ecx, dword [ecx + eax*4]
jl 0x4421e0
mov edx, dword [ebp - 0x14]
add edx, 0x15c
mov esi, dword [edx + 0x10]
shr esi, 2
cmp eax, esi
jge 0x4421e0
mov edx, dword [edx + 8]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, ebx
jl 0x4421ba
mov ecx, dword [0x47a6f0]
xor edi, edi
cmp ecx, edi
jle 0x442251
xor esi, esi
cmp ecx, edi
jle 0x44221f
mov eax, dword [0x47a6f4]
mov eax, dword [eax + esi*4]
cmp eax, edi
je 0x44221a
mov eax, dword [eax + 0x78]
cmp eax, edi
je 0x44221a
push edi
push 0x41e650
push 1
call eax
mov ecx, dword [0x47a6f0]
inc esi
cmp esi, ecx
jl 0x4421f7
mov esi, dword [ebp - 0x14]
mov edx, dword [0x47a6f4]
shl ecx, 2
push ecx
push edx
lea ecx, [esi + 0x120]
call fcn.00406a60
mov eax, dword [0x47a6f0]
lea ecx, [eax*4]
push ecx
push edi
lea ecx, [esi + 0x134]
call fcn.00406a60
cmp dword [0x47a6ec], edi
jbe 0x4424b2
lea ecx, [ebp - 0x38]
call fcn.00406330
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x40], 0x52859c
mov dword [ebp - 0x3c], edx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], edi
call fcn.0046a9bb
push 0x400
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00471b17
mov eax, dword [0x47a6ec]
mov ecx, dword [0x47a6e8]
push edi
push eax
mov bl, 3
push ecx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00471b63
push edi
push 0x1000
lea edx, [ebp - 0x70]
push 1
push edx
lea ecx, [ebp - 0xb4]
call fcn.004712f8
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.0041a240
lea ecx, [ebp - 0xb4]
call fcn.0047145c
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], bl
call fcn.004713d4
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00471ba0
mov dword [ebp - 4], edi
call fcn.0046a9f9
mov ecx, dword [0x47a6dc]
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov ecx, eax
shr ecx, 3
neg eax
sbb eax, eax
and eax, esi
cmp ecx, edi
lea eax, [eax + ecx*4]
jle 0x44240c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax]
xor ebx, ebx
mov ecx, dword [eax + 0x18]
test ecx, ecx
mov dword [ebp - 0x18], ecx
jle 0x4423f6
lea edi, [eax + 0x14]
push 0
push ebx
mov ecx, edi
call fcn.004191a0
push ebx
mov ecx, edi
mov esi, eax
call fcn.00419880
cmp eax, 1
jne 0x442391
add esi, 0x18
push esi
call fcn.00406cd0
add esi, eax
push esi
call fcn.00406cd0
lea esi, [esi + eax + 0xc]
push esi
call fcn.00406cd0
add esi, eax
add esp, 0xc
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x442389
mov edx, dword [ebp - 0x20]
add eax, edx
mov dword [esi], eax
jmp 0x4423ea
mov dword [esi], 0
jmp 0x4423ea
add esi, 0x18
push esi
call fcn.00406cd0
add esi, eax
push esi
call fcn.00406cd0
mov ecx, dword [esi + eax + 0x1c]
lea eax, [esi + eax + 0x1c]
mov edx, dword [eax + ecx*4 + 4]
lea eax, [eax + ecx*4 + 4]
lea esi, [edx + eax + 4]
push esi
call fcn.00406cd0
mov ecx, dword [eax + esi + 0xc]
lea eax, [eax + esi + 0xc]
add esp, 0xc
add eax, 8
test ecx, ecx
jle 0x4423ea
mov edx, dword [eax]
cmp edx, 0xffffffff
je 0x4423de
mov esi, dword [ebp - 0x20]
add edx, esi
mov dword [eax], edx
jmp 0x4423e4
mov dword [eax], 0
add eax, 8
dec ecx
jne 0x4423ce
mov eax, dword [ebp - 0x18]
inc ebx
cmp ebx, eax
jl 0x442340
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
add eax, 4
dec ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ecx
jne 0x44232b
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
add ecx, 0x104
call fcn.00419800
lea ecx, [ebp - 0x38]
call fcn.00406530
mov dword [ebp - 0x40], 0x52859c
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 8
call fcn.0041a180
mov dword [ebp - 0x40], 0x5285a8
mov dword [ebp - 4], 9
jmp 0x442494
lea ecx, [ebp - 0x38]
call fcn.00406530
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], 0x525f30
call fcn.00406530
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret