Function at 0x4231f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447d40
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x45c070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x20]
push 0
push edi
mov eax, edi
mov dword [ebp - 0x24], edi
call fcn.00423890
cmp dword [esi + 0x30], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x42324f
test edi, edi
je 0x42323f
lea eax, [edi - 0x20]
jmp 0x423241
xor eax, eax
mov eax, dword [eax + 4]
push 0x3ed
push eax
call ebx
mov dword [esi + 0x30], eax
cmp dword [esi + 0x34], 0
jne 0x42326e
test edi, edi
je 0x42325e
lea eax, [edi - 0x20]
jmp 0x423260
xor eax, eax
mov ecx, dword [eax + 4]
push 0x3ee
push ecx
call ebx
mov dword [esi + 0x34], eax
cmp dword [esi + 0x24], 0
jne 0x42328d
test edi, edi
je 0x42327d
lea eax, [edi - 0x20]
jmp 0x42327f
xor eax, eax
mov edx, dword [eax + 4]
push 0x3f0
push edx
call ebx
mov dword [esi + 0x24], eax
cmp dword [esi + 0x28], 0
jne 0x4232ac
test edi, edi
je 0x42329c
lea eax, [edi - 0x20]
jmp 0x42329e
xor eax, eax
mov eax, dword [eax + 4]
push 0x3f1
push eax
call ebx
mov dword [esi + 0x28], eax
cmp dword [esi + 0x2c], 0
jne 0x4232cb
test edi, edi
je 0x4232bb
lea eax, [edi - 0x20]
jmp 0x4232bd
xor eax, eax
mov ecx, dword [eax + 4]
push 0x3f2
push ecx
call ebx
mov dword [esi + 0x2c], eax
cmp dword [esi + 0x38], 0
jne 0x4232e7
test edi, edi
je 0x4232da
lea eax, [edi - 0x20]
jmp 0x4232dc
xor eax, eax
mov edx, dword [eax + 4]
push 1
push edx
call ebx
mov dword [esi + 0x38], eax
xor edx, edx
lea ecx, [esi + 4]
call fcn.0040a500
xor eax, eax
cmp dword [0x45d52c], 1
setne al
push eax
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov edi, 0x68
mov byte [ebp - 4], 1
call fcn.004032e0
test eax, eax
je 0x423358
push eax
mov eax, edi
lea edi, [ebp - 0x20]
call fcn.00403490
mov byte [ebp - 4], 2
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov edi, 0x72
mov byte [ebp - 4], 3
call fcn.004032e0
test eax, eax
je 0x42338f
push eax
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00403490
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
lea edi, [ebp - 0x14]
call fcn.00403fa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4233c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4233ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x460244]
mov ecx, dword [esi + 0x2c]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
mov edi, 0x73
mov byte [ebp - 4], 5
call fcn.004032e0
test eax, eax
je 0x423444
push eax
mov eax, edi
lea edi, [ebp - 0x20]
call fcn.00403490
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
mov ecx, dword [esi + 0x2c]
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
add ebx, 0xfffffff0
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x42346f
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov edi, 0x68
mov byte [ebp - 4], 6
call fcn.004032e0
test eax, eax
je 0x4234a2
push eax
mov eax, edi
lea edi, [ebp - 0x20]
call fcn.00403490
mov byte [ebp - 4], 7
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov edi, 0x74
mov byte [ebp - 4], 8
call fcn.004032e0
test eax, eax
je 0x4234dc
push eax
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00403490
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x20]
push ecx
push ebx
lea edi, [ebp - 0x14]
call fcn.00403fa0
add ebx, 0xfffffff0
add esp, 8
mov byte [ebp - 4], 7
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x423510
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423533
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [esi + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea edx, [eax + 0x10]
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 0xa
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x42357e
mov ecx, 0x104
lea eax, [ebp - 0x10]
call fcn.00403650
mov edx, dword [ebp - 0x10]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [ebp - 0x10]
test edx, edx
jne 0x423595
xor eax, eax
jmp 0x4235b5
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4235a0
sub eax, edi
sar eax, 1
js 0x4237c8
cmp eax, dword [edx - 8]
jg 0x4237c8
mov dword [edx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
push 0x13
mov word [edx + eax*2], cx
push str.StaffCopLanguages_
lea eax, [ebp - 0x10]
push eax
call fcn.00403a70
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
mov edi, 0xcd
mov byte [ebp - 4], 0xb
call fcn.004032e0
test eax, eax
je 0x423610
push eax
mov eax, edi
lea edi, [ebp - 0x20]
call fcn.00403490
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0xc
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [ebp - 0x10]
push ecx
call fcn.00403a70
add ebx, 0xfffffff0
mov byte [ebp - 4], 0xa
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x423642
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov dword [ebp - 0x18], 0xffffffff
push 0
push 0x80
push 3
push 0
push 1
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x423671
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x30]
push eax
push 2
push 0x449
lea edx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], 0x4231c0
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
mov edi, 0x70
mov byte [ebp - 4], 0xe
call fcn.004032e0
test eax, eax
je 0x4236c9
push eax
mov eax, edi
lea edi, [ebp - 0x20]
call fcn.00403490
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0xd
mov ecx, dword [esi + 0x30]
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
add ebx, 0xfffffff0
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4236f4
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
mov edi, 0x71
mov byte [ebp - 4], 0xf
call fcn.004032e0
test eax, eax
je 0x42372a
push eax
mov eax, edi
lea edi, [ebp - 0x20]
call fcn.00403490
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0xd
mov ecx, dword [esi + 0x34]
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
add ebx, 0xfffffff0
or esi, 0xffffffff
lea edx, [ebx + 0xc]
mov eax, esi
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x423757
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x24]
push 1
push eax
call fcn.00423890
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x423773
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423795
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4237b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004036a0
int3