Function at 0x41dc50
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
push edi
push eax
call fcn.00403fb0
xor edi, edi
add esp, 4
mov esi, eax
cmp dword [0x43d164], edi
je 0x41dc94
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43af1c
mov dword [eax*8 + 0x43de24], edi
inc eax
and eax, 0x7f
pop edi
mov dword [0x43d148], eax
pop esi
add esp, 8
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ebx, eax
cmp esi, edi
je 0x41dcab
push esi
call fcn.004013c0
add esp, 4
cmp ebx, edi
je 0x41ea16
push 0x18
call fcn.00401280
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
cmp ebx, edi
je 0x41dd5b
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
inc dword [ebx]
inc dword [ebx]
push 1
push edi
push 0x104
mov dword [ebx + 8], 0x438230
mov dword [ebx + 0x14], 0x104
call fcn.00401a40
mov esi, eax
mov eax, dword [ebx]
add esp, 0xc
cmp esi, edi
setne byte [esp + 0xf]
dec eax
mov dword [ebx], eax
jne 0x41dd24
mov dword [ebx], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 8]
push ebx
mov dword [ebx], edi
call eax
add esp, 4
cmp byte [esp + 0xf], 0
jne 0x41dd98
mov eax, dword [ebx]
dec eax
mov dword [ebx], eax
jne 0x41dd46
mov dword [ebx], 1
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
push ebx
mov dword [ebx], edi
call eax
add esp, 4
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43af04
jmp 0x41eaf6
push 0x437410
push 0x4373fc
call fcn.00401610
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43ae08
mov dword [eax*8 + 0x43de24], edi
inc eax
add esp, 8
and eax, 0x7f
mov dword [eax*8 + 0x43de20], 0x43af10
jmp 0x41eaf6
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0xc], edi
cmp eax, edi
je 0x41ddb7
mov ecx, dword [eax]
dec ecx
jne 0x41ddb5
push eax
call fcn.004013c0
add esp, 4
jmp 0x41ddb7
mov dword [eax], ecx
mov eax, dword [ebx + 0x10]
push ebp
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebp, eax
cmp ebp, edi
je 0x41e85e
jle 0x41e849
cmp ebp, 0x105
jg 0x41debd
push ebp
push ebx
call fcn.0041bbd0
add esp, 8
cmp dword [0x43d164], edi
je 0x41deb6
cmp eax, edi
je 0x41de0f
mov ecx, dword [eax]
dec ecx
jne 0x41de0d
push eax
call fcn.004013c0
add esp, 4
jmp 0x41de0f
mov dword [eax], ecx
mov esi, dword [0x43d168]
cmp esi, edi
je 0x41de1b
inc dword [esi]
mov eax, dword [0x43d148]
mov edi, dword [0x43d164]
mov dword [eax*8 + 0x43de20], 0x43aef8
mov dword [eax*8 + 0x43de24], edi
inc eax
and eax, 0x7f
mov dword [0x43d148], eax
cmp edi, 0x437394
je 0x41de51
cmp edi, 0x437360
jne 0x41de56
call fcn.00401100
mov eax, dword [0x43d168]
xor ebp, ebp
mov dword [0x43d168], ebp
cmp eax, ebp
je 0x41de82
mov ecx, dword [eax]
dec ecx
mov dword [eax], ecx
jne 0x41de82
mov dword [eax], 1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 8]
push eax
mov dword [eax], ebp
call ecx
add esp, 4
mov dword [0x43d164], ebp
cmp esi, ebp
je 0x41e934
inc dword [esi]
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e97b
mov dword [esi], 1
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
push esi
mov dword [esi], ebp
call eax
add esp, 4
jmp 0x41e97b
mov edi, eax
jmp 0x41e22d
push 0x18
call fcn.00401280
mov edi, eax
xor esi, esi
add esp, 4
cmp edi, esi
je 0x41e02a
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
inc dword [edi]
inc dword [edi]
push edi
mov dword [edi + 8], 0x438230
mov dword [edi + 0x14], ebp
call fcn.00417190
add esp, 4
cmp dword [0x43d164], 0
mov esi, eax
mov eax, dword [edi]
sete byte [esp + 0x13]
dec eax
mov dword [edi], eax
jne 0x41df2a
mov dword [edi], 1
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 8]
push edi
mov dword [edi], 0
call eax
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x41e0a6
test esi, esi
je 0x41df58
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41df58
mov dword [esi], 1
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
push esi
mov dword [esi], 0
call eax
add esp, 4
mov esi, dword [0x43d168]
test esi, esi
je 0x41df64
inc dword [esi]
mov eax, dword [0x43d148]
mov ebp, dword [0x43d164]
mov dword [eax*8 + 0x43de20], 0x43aee0
mov dword [eax*8 + 0x43de24], ebp
inc eax
and eax, 0x7f
mov dword [0x43d148], eax
cmp ebp, 0x437394
je 0x41df9a
cmp ebp, 0x437360
jne 0x41df9f
call fcn.00401100
mov eax, dword [0x43d168]
mov dword [0x43d168], 0
test eax, eax
je 0x41dfd1
mov ecx, dword [eax]
dec ecx
mov dword [eax], ecx
jne 0x41dfd1
mov dword [eax], 1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 8]
push eax
mov dword [eax], 0
call ecx
add esp, 4
mov dword [0x43d164], 0
test esi, esi
je 0x41dfe1
inc dword [esi]
mov eax, dword [edi]
dec eax
mov dword [edi], eax
jne 0x41e000
mov dword [edi], 1
mov edx, dword [edi + 8]
mov eax, dword [edx + 8]
push edi
mov dword [edi], 0
call eax
add esp, 4
test esi, esi
je 0x41e09f
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e979
mov dword [esi], 1
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
mov dword [esi], 0
jmp 0x41e973
push 0x437410
push 0x4373fc
call fcn.00401610
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43ae20
mov dword [eax*8 + 0x43de24], esi
inc eax
add esp, 8
and eax, 0x7f
mov dword [0x43d148], eax
mov eax, dword [ebx]
dec eax
mov dword [ebx], eax
jne 0x41e077
mov dword [ebx], 1
mov eax, dword [ebx + 8]
mov eax, dword [eax + 8]
push ebx
mov dword [ebx], esi
call eax
add esp, 4
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43aeec
pop ebp
mov dword [eax*8 + 0x43de24], esi
pop ebx
inc eax
and eax, 0x7f
pop edi
mov dword [0x43d148], eax
pop esi
add esp, 8
ret
xor esi, esi
jmp 0x41e979
mov eax, dword [esi + 0x10]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x41e6d5
jle 0x41e6a1
push eax
push esi
call fcn.0041bbd0
add esp, 8
cmp dword [0x43d164], 0
mov ebp, eax
je 0x41e1d3
test ebp, ebp
je 0x41e0f0
mov eax, dword [ebp]
dec eax
jne 0x41e0ed
push ebp
call fcn.004013c0
add esp, 4
jmp 0x41e0f0
mov dword [ebp], eax
mov ebp, dword [0x43d168]
test ebp, ebp
je 0x41e0fd
inc dword [ebp]
mov eax, dword [0x43d148]
mov ebx, dword [0x43d164]
mov dword [eax*8 + 0x43de20], 0x43aed4
mov dword [eax*8 + 0x43de24], ebx
inc eax
and eax, 0x7f
mov dword [0x43d148], eax
cmp ebx, 0x437394
je 0x41e133
cmp ebx, 0x437360
jne 0x41e138
call fcn.00401100
mov eax, dword [0x43d168]
mov dword [0x43d168], 0
test eax, eax
je 0x41e16a
mov ecx, dword [eax]
dec ecx
mov dword [eax], ecx
jne 0x41e16a
mov dword [eax], 1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 8]
push eax
mov dword [eax], 0
call ecx
add esp, 4
mov dword [0x43d164], 0
test ebp, ebp
je 0x41e17b
inc dword [ebp]
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e19a
mov dword [esi], 1
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
push esi
mov dword [esi], 0
call eax
add esp, 4
test ebp, ebp
je 0x41e1ca
mov eax, dword [ebp]
dec eax
mov dword [ebp], eax
jne 0x41e1c1
mov dword [ebp], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push ebp
mov dword [ebp], 0
call eax
add esp, 4
mov esi, ebp
mov ebp, ebx
jmp 0x41e807
xor esi, esi
mov ebp, ebx
jmp 0x41e807
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e1f2
mov dword [esi], 1
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 8]
push esi
mov dword [esi], 0
call eax
add esp, 4
mov esi, dword [edi + 0x10]
mov eax, dword [edi]
test esi, esi
setne byte [esp + 0x13]
dec eax
mov dword [edi], eax
jne 0x41e21b
mov dword [edi], 1
mov edx, dword [edi + 8]
mov eax, dword [edx + 8]
push edi
mov dword [edi], 0
call eax
add esp, 4
cmp byte [esp + 0x13], 0
je 0x41e22b
push esi
call fcn.004013c0
add esp, 4
mov edi, ebp
mov esi, dword [ebx + 0x10]
mov eax, dword [ebx]
test esi, esi
setne byte [esp + 0x13]
dec eax
mov dword [ebx], eax
jne 0x41e256
mov dword [ebx], 1
mov eax, dword [ebx + 8]
mov eax, dword [eax + 8]
push ebx
mov dword [ebx], 0
call eax
add esp, 4
cmp byte [esp + 0x13], 0
je 0x41e266
push esi
call fcn.004013c0
add esp, 4
mov bl, byte [edi + 0x10]
cmp bl, 0x5c
je 0x41e273
cmp bl, 0x2f
jne 0x41e293
mov eax, dword [edi]
dec eax
jne 0x41e289
push edi
call fcn.004013c0
add esp, 4
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
pop ebp
pop ebx
mov dword [edi], eax
pop edi
pop esi
add esp, 8
ret
mov ecx, dword [0x43d164]
test ecx, ecx
je 0x41e32c
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43aebc
mov dword [eax*8 + 0x43de24], ecx
inc eax
and eax, 0x7f
mov dword [0x43d148], eax
cmp ecx, 0x437394
je 0x41e2d1
cmp ecx, 0x437360
jne 0x41e2d6
call fcn.00401100
xor eax, eax
push 0x437410
push 0x4373fc
mov dword [0x43d168], eax
mov dword [0x43d164], eax
call fcn.00401610
mov eax, dword [0x43d148]
add esp, 8
mov dword [eax*8 + 0x43de20], 0x43aec8
mov dword [eax*8 + 0x43de24], 0
inc eax
and eax, 0x7f
mov dword [0x43d148], eax
mov eax, dword [edi]
dec eax
jne 0x41e3a6
push edi
call fcn.004013c0
add esp, 4
jmp 0x41e3a8
push 0x11
call fcn.00401280
mov esi, eax
add esp, 4
test esi, esi
je 0x41e37f
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov byte [esi + 0x10], al
mov dword [esi + 0xc], 1
inc dword [esi]
push esi
push 0x438264
mov byte [esi + 0x10], bl
call fcn.00401ea0
add esp, 8
cmp dword [0x43d164], 0
mov ebp, eax
mov eax, dword [esi]
sete bl
dec eax
jne 0x41e3d4
push esi
call fcn.004013c0
add esp, 4
jmp 0x41e3d6
push 0x437410
push 0x4373fc
call fcn.00401610
mov eax, dword [0x43d148]
add esp, 8
mov dword [eax*8 + 0x43de20], 0x43ae38
jmp 0x41e304
mov dword [edi], eax
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43ae98
pop ebp
mov dword [eax*8 + 0x43de24], 0
pop ebx
inc eax
and eax, 0x7f
pop edi
mov dword [0x43d148], eax
pop esi
add esp, 8
ret
mov dword [esi], eax
test bl, bl
jne 0x41e430
mov eax, dword [edi]
dec eax
jne 0x41e3ea
push edi
call fcn.004013c0
add esp, 4
jmp 0x41e3ec
mov dword [edi], eax
test ebp, ebp
je 0x41e404
mov eax, dword [ebp]
dec eax
jne 0x41e401
push ebp
call fcn.004013c0
add esp, 4
jmp 0x41e404
mov dword [ebp], eax
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43ae8c
pop ebp
mov dword [eax*8 + 0x43de24], 0
pop ebx
inc eax
and eax, 0x7f
pop edi
mov dword [0x43d148], eax
pop esi
add esp, 8
ret
push 0x437ad0
push ebp
call fcn.00401ea0
add esp, 8
cmp dword [0x43d164], 0
mov esi, eax
sete bl
test ebp, ebp
je 0x41e462
mov eax, dword [ebp]
dec eax
jne 0x41e45f
push ebp
call fcn.004013c0
add esp, 4
jmp 0x41e462
mov dword [ebp], eax
test bl, bl
jne 0x41e4ba
mov eax, dword [edi]
dec eax
jne 0x41e476
push edi
call fcn.004013c0
add esp, 4
jmp 0x41e478
mov dword [edi], eax
test esi, esi
je 0x41e48e
mov eax, dword [esi]
dec eax
jne 0x41e48c
push esi
call fcn.004013c0
add esp, 4
jmp 0x41e48e
mov dword [esi], eax
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43ae80
pop ebp
mov dword [eax*8 + 0x43de24], 0
pop ebx
inc eax
and eax, 0x7f
pop edi
mov dword [0x43d148], eax
pop esi
add esp, 8
ret
push esi
call fcn.00403fb0
add esp, 4
cmp dword [0x43d164], 0
mov ebp, eax
sete bl
test esi, esi
je 0x41e4e5
mov eax, dword [esi]
dec eax
jne 0x41e4e3
push esi
call fcn.004013c0
add esp, 4
jmp 0x41e4e5
mov dword [esi], eax
test bl, bl
jne 0x41e527
mov eax, dword [edi]
dec eax
jne 0x41e4f9
push edi
call fcn.004013c0
add esp, 4
jmp 0x41e4fb
mov dword [edi], eax
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43ae74
pop ebp
mov dword [eax*8 + 0x43de24], 0
pop ebx
inc eax
and eax, 0x7f
pop edi
mov dword [0x43d148], eax
pop esi
add esp, 8
ret
push edi
call fcn.00403fb0
add esp, 4
cmp dword [0x43d164], 0
mov esi, eax
mov eax, dword [edi]
sete bl
dec eax
jne 0x41e54c
push edi
call fcn.004013c0
add esp, 4
jmp 0x41e54e
mov dword [edi], eax
test bl, bl
jne 0x41e57e
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43ae68
pop ebp
mov dword [eax*8 + 0x43de24], 0
pop ebx
inc eax
and eax, 0x7f
pop edi
mov dword [0x43d148], eax
pop esi
add esp, 8
ret
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xor ebx, ebx
mov edi, eax
cmp ebp, ebx
je 0x41e597
push ebp
call fcn.004013c0
add esp, 4
cmp esi, ebx
je 0x41e5a4
push esi
call fcn.004013c0
add esp, 4
cmp edi, ebx
jne 0x41e649
call sub.KERNEL32.dll_GetLastError
push 0x14
mov edi, eax
call fcn.00401280
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41e651
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
inc dword [esi]
inc dword [esi]
push esi
push 0x4377e0
mov dword [esi + 8], 0x4377e0
mov dword [esi + 0x10], edi
call fcn.00401610
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43ae50
mov dword [eax*8 + 0x43de24], ebx
inc eax
add esp, 8
and eax, 0x7f
mov dword [0x43d148], eax
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e62e
mov dword [esi], 1
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 8]
push esi
mov dword [esi], ebx
call eax
add esp, 4
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e649
mov dword [esi], 1
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
push esi
mov dword [esi], ebx
call eax
add esp, 4
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
push 0x437410
push 0x4373fc
call fcn.00401610
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43ae44
mov dword [eax*8 + 0x43de24], ebx
add esp, 8
inc eax
and eax, 0x7f
mov dword [eax*8 + 0x43de20], 0x43ae5c
pop ebp
mov dword [eax*8 + 0x43de24], ebx
pop ebx
inc eax
and eax, 0x7f
pop edi
mov dword [0x43d148], eax
pop esi
add esp, 8
ret
inc dword [0x4373a8]
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e6c6
mov dword [esi], 1
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
push esi
mov dword [esi], 0
call eax
add esp, 4
mov esi, 0x4373a8
mov ebp, 0x437394
jmp 0x41e807
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e6f4
mov dword [esi], 1
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 8]
push esi
mov dword [esi], 0
call eax
add esp, 4
push 0x438244
call fcn.0041bb20
xor ebx, ebx
add esp, 4
mov esi, eax
cmp dword [0x43d164], ebx
je 0x41e7c6
cmp esi, ebx
je 0x41e730
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e730
mov dword [esi], 1
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
push esi
mov dword [esi], ebx
call eax
add esp, 4
mov esi, dword [0x43d168]
cmp esi, ebx
je 0x41e73c
inc dword [esi]
mov eax, dword [0x43d148]
mov ebp, dword [0x43d164]
mov dword [eax*8 + 0x43de20], 0x43ae2c
mov dword [eax*8 + 0x43de24], ebp
inc eax
and eax, 0x7f
mov dword [0x43d148], eax
cmp ebp, 0x437394
je 0x41e772
cmp ebp, 0x437360
jne 0x41e777
call fcn.00401100
mov eax, dword [0x43d168]
mov dword [0x43d168], ebx
cmp eax, ebx
je 0x41e7a1
mov ecx, dword [eax]
dec ecx
mov dword [eax], ecx
jne 0x41e7a1
mov dword [eax], 1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 8]
push eax
mov dword [eax], ebx
call ecx
add esp, 4
mov dword [0x43d164], ebx
cmp esi, ebx
je 0x41e7c2
inc dword [esi]
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e807
mov dword [esi], 1
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
jmp 0x41e7ff
xor esi, esi
jmp 0x41e807
cmp esi, ebx
je 0x41e7cc
inc dword [esi]
mov ebp, dword [esi + 8]
inc dword [esi]
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e7ec
mov dword [esi], 1
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
push esi
mov dword [esi], ebx
call eax
add esp, 4
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e807
mov dword [esi], 1
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 8]
push esi
mov dword [esi], ebx
call eax
add esp, 4
mov ebx, dword [edi + 0x10]
mov eax, dword [edi]
test ebx, ebx
setne byte [esp + 0x13]
dec eax
mov dword [edi], eax
jne 0x41e830
mov dword [edi], 1
mov edx, dword [edi + 8]
mov eax, dword [edx + 8]
push edi
mov dword [edi], 0
call eax
add esp, 4
cmp byte [esp + 0x13], 0
je 0x41e840
push ebx
call fcn.004013c0
add esp, 4
mov ebx, dword [esp + 0x14]
jmp 0x41e979
inc dword [0x4373a8]
mov esi, 0x4373a8
mov edi, 0x437394
jmp 0x41e97b
push 0x438244
call fcn.0041bb20
add esp, 4
mov esi, eax
cmp dword [0x43d164], edi
je 0x41e938
cmp esi, edi
je 0x41e898
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e898
mov dword [esi], 1
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
push esi
mov dword [esi], edi
call eax
add esp, 4
mov esi, dword [0x43d168]
cmp esi, edi
je 0x41e8a4
inc dword [esi]
mov eax, dword [0x43d148]
mov edi, dword [0x43d164]
mov dword [eax*8 + 0x43de20], 0x43ae14
mov dword [eax*8 + 0x43de24], edi
inc eax
and eax, 0x7f
mov dword [0x43d148], eax
cmp edi, 0x437394
je 0x41e8da
cmp edi, 0x437360
jne 0x41e8df
call fcn.00401100
mov eax, dword [0x43d168]
xor ebp, ebp
mov dword [0x43d168], ebp
cmp eax, ebp
je 0x41e90b
mov ecx, dword [eax]
dec ecx
mov dword [eax], ecx
jne 0x41e90b
mov dword [eax], 1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 8]
push eax
mov dword [eax], ebp
call ecx
add esp, 4
mov dword [0x43d164], ebp
cmp esi, ebp
je 0x41e934
inc dword [esi]
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e97b
mov dword [esi], 1
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
push esi
mov dword [esi], ebp
call eax
add esp, 4
jmp 0x41e97b
xor esi, esi
jmp 0x41e97b
cmp esi, edi
je 0x41e93e
inc dword [esi]
mov ebp, dword [esi + 8]
inc dword [esi]
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e95e
mov dword [esi], 1
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
push esi
mov dword [esi], edi
call eax
add esp, 4
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e979
mov dword [esi], 1
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 8]
mov dword [esi], edi
push esi
call eax
add esp, 4
mov edi, ebp
mov ebp, dword [ebx + 0x10]
mov eax, dword [ebx]
test ebp, ebp
setne byte [esp + 0x13]
dec eax
mov dword [ebx], eax
jne 0x41e9a4
mov dword [ebx], 1
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
push ebx
mov dword [ebx], 0
call eax
add esp, 4
cmp byte [esp + 0x13], 0
je 0x41e9b4
push ebp
call fcn.004013c0
add esp, 4
test esi, esi
je 0x41e9ba
inc dword [esi]
push esi
push edi
call fcn.00401680
add esp, 8
test esi, esi
je 0x41e649
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e9eb
mov dword [esi], 1
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
push esi
mov dword [esi], 0
call eax
add esp, 4
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e649
mov dword [esi], 1
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 8]
push esi
mov dword [esi], 0
call eax
add esp, 4
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
call sub.KERNEL32.dll_GetLastError
push 0x14
mov ebx, eax
call fcn.00401280
mov esi, eax
add esp, 4
cmp esi, edi
je 0x41eabe
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
inc dword [esi]
inc dword [esi]
push esi
push 0x4377e0
mov dword [esi + 8], 0x4377e0
mov dword [esi + 0x10], ebx
call fcn.00401610
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43adf0
mov dword [eax*8 + 0x43de24], edi
inc eax
add esp, 8
and eax, 0x7f
mov dword [0x43d148], eax
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41ea98
mov dword [esi], 1
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
push esi
mov dword [esi], edi
call eax
add esp, 4
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x41e64a
mov dword [esi], 1
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
push esi
mov dword [esi], edi
call eax
add esp, 4
pop ebx
pop edi
pop esi
add esp, 8
ret
push 0x437410
push 0x4373fc
call fcn.00401610
mov eax, dword [0x43d148]
mov dword [eax*8 + 0x43de20], 0x43ade4
mov dword [eax*8 + 0x43de24], edi
inc eax
add esp, 8
and eax, 0x7f
mov dword [eax*8 + 0x43de20], 0x43adfc
mov dword [eax*8 + 0x43de24], edi
pop ebx
inc eax
and eax, 0x7f
pop edi
mov dword [0x43d148], eax
pop esi
add esp, 8
ret