Function at 0x438d20
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x46a359
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push ebp
push esi
push edi
push 0x476ecc
xor ebx, ebx
push 2
mov ebp, ecx
mov dword [esp + 0x18], ebx
call fcn.004549c0
mov edi, dword [esp + 0x120]
mov eax, dword [edi + 0x2c]
add esp, 8
cmp eax, 2
jne 0x438e24
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push eax
push 0x476eb8
push 3
call fcn.004549c0
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [edx + 4]
mov ecx, eax
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x438da0
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00404600
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0x114], 0
call fcn.00437490
cmp dword [esp + 0x4c], 0x10
jb 0x438de4
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004588cd
add esp, 4
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea edx, [esp + 0xcc]
mov esi, eax
push edx
lea eax, [esp + 0xd8]
push eax
push 0x499378
call fcn.004372d0
mov ecx, dword [0x499fa4]
push 0
push 0x444a80
push esi
push 0x72
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push 0xffffffffffffffff
call fcn.0045a7a5
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], 0
mov eax, dword [ebp + 0x18]
test eax, eax
mov esi, dword [edi + 0x28]
mov dword [esp + 0x110], 1
mov dword [esp + 0x30], esi
je 0x438e96
push 0x476eb4
lea edx, [ebp + 4]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00437ec0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], 2
call fcn.00404440
cmp dword [esp + 0x4c], 0x10
mov byte [esp + 0x110], 1
jb 0x438e96
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004588cd
add esp, 4
push esi
lea edx, [esp + 0x74]
push edx
lea ecx, [ebp + 0x30]
call fcn.00455790
mov eax, dword [esp + 0x84]
test eax, eax
mov byte [esp + 0x110], 3
je 0x438ebd
lea eax, [esp + 0x70]
jmp 0x438f09
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, eax
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x438ee0
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00404600
mov ebx, 1
lea eax, [esp + 0x34]
mov byte [esp + 0x110], 4
mov dword [esp + 0x10], ebx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.00424e20
test bl, 1
mov dword [esp + 0x110], 3
je 0x438f3b
cmp dword [esp + 0x4c], 0x10
jb 0x438f3b
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004588cd
add esp, 4
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x438f4a
lea eax, [esp + 0x18]
push eax
push 0x476ea8
push 3
call fcn.004549c0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp ecx, 0x10
mov edx, eax
jae 0x438f6d
lea edx, [esp + 0x18]
mov esi, dword [esp + 0x28]
add edx, esi
cmp ecx, 0x10
jae 0x438f7c
lea eax, [esp + 0x18]
cmp eax, edx
je 0x438f8d
cmp byte [eax], 0xa
jne 0x438f88
mov byte [eax], 0x20
inc eax
cmp eax, edx
jne 0x438f80
call fcn.004560f0
test al, al
je 0x438ff6
mov ecx, dword [0x4997f4]
test ecx, ecx
jne 0x438fbf
push 0x3b
push 0x47545c
lea ecx, [esp + 0x3c]
call fcn.00454840
push 0x480dd4
lea edx, [esp + 0x38]
push edx
call fcn.0045867d
mov eax, dword [ecx + 0xa0]
add ecx, 0x9c
test eax, eax
je 0x438fec
mov esi, dword [ecx + 8]
sub esi, eax
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x14
jae 0x438ff6
lea eax, [esp + 0x14]
push eax
call fcn.00438c90
cmp dword [edi + 0x2c], 1
jne 0x4390bd
push 0x476e94
push 1
call fcn.004549c0
mov al, byte [ebp + 0x20]
add esp, 8
test al, al
jne 0x439053
push 0x476e8c
push 1
call fcn.004549c0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x38]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.00404440
call fcn.004564c0
add esp, 0x1c
push 0x476e84
push 1
call fcn.004549c0
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
add esp, 8
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x439096
mov esi, dword [esp + 0x30]
cmp dword [eax + 0xc], esi
jne 0x439084
mov eax, dword [eax + 0x10]
push eax
call fcn.00457200
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00437150
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0x28]
jne 0x439073
mov al, byte [esp + 0x11c]
test al, al
jne 0x439167
lea ecx, [esp + 0x64]
call fcn.00454460
push 0x482e58
lea ecx, [esp + 0x68]
push ecx
call fcn.0045867d
push 0x476e70
push 1
call fcn.004549c0
mov al, byte [ebp + 0x20]
add esp, 8
test al, al
jne 0x439167
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x90]
call fcn.00437520
mov byte [esp + 0x110], 5
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x98]
push ecx
push 0x499378
call fcn.004372d0
mov edx, dword [0x499fa4]
push 0
push 0x444a80
push esi
push 0x73
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov cl, byte [esp + 0x11c]
test cl, cl
jne 0x439151
cmp eax, 1
jne 0x439151
lea ecx, [esp + 0x64]
call fcn.00454460
push 0x482e58
lea eax, [esp + 0x68]
push eax
call fcn.0045867d
mov cl, byte [esp + 0xc8]
mov byte [ebp + 0x20], cl
lea ecx, [esp + 0x8c]
call fcn.00437450
mov eax, dword [esp + 0x88]
mov esi, 0x10
cmp eax, esi
jb 0x439184
mov edx, dword [esp + 0x74]
push edx
call fcn.004588cd
add esp, 4
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
jb 0x4391b2
mov eax, dword [esp + 0x18]
push eax
call fcn.004588cd
add esp, 4
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x104
ret 8