Function at 0x429690
Capabilities:
Terminate process

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x38]
push ebp
push esi
mov esi, dword [esp + 0x3c]
xor ebp, ebp
test esi, esi
push edi
jne 0x4296bb
test ebx, 0x8000000
jne 0x4296bb
call fcn.004336b0
push ebp
call fcn.0044ad00
add esp, 4
mov eax, dword [esp + 0x3c]
mov edi, ebx
xor ecx, ecx
and edi, 0x8000000
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
je 0x42970d
cmp esi, ecx
jne 0x4296ef
mov dword [esp + 0x3c], str.Stop___Program_terminated.
mov dword [esp + 0x44], 0x1a
cmp dword [esp + 0x4c], ecx
je 0x42970d
mov dword [esp + 0x3c], str.Return_code
mov dword [esp + 0x44], 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
cmp edi, ecx
je 0x429716
mov ebp, 6
lea eax, [esp + 0x18]
push 0x22
lea ecx, [esp + 0x44]
push eax
push ecx
push ebp
call fcn.0042f740
add esp, 0x10
test eax, eax
je 0x429752
test bl, 1
je 0x429741
and eax, 0xffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x48c668
push ebp
push 2
push eax
call fcn.0042ea90
add esp, 0x10
mov esi, dword [esp + 0x40]
mov ebp, 0x100
test byte [esi + 0x118], 1
jne 0x4298d4
mov eax, dword [esi + 0x11c]
mov edx, ebx
shr edx, 0xa
and edx, ebp
and ah, 0xfe
or edx, eax
mov ecx, ebx
mov dword [esi + 0x11c], edx
mov eax, dword [esp + 0x40]
and ecx, 0x80
push 1
mov edx, dword [eax + 0x118]
push 4
shl ecx, 0xf
and edx, 0xffbfffff
push 1
or ecx, edx
mov edx, ebx
mov dword [eax + 0x118], ecx
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0x11c]
xor edx, eax
and edx, 0x8000000
xor edx, eax
mov dword [ecx + 0x11c], edx
mov eax, dword [esp + 0x4c]
mov ecx, ebx
mov edx, dword [eax + 0x11c]
shr ecx, 5
and ecx, 0x200000
and edx, 0xffdfffff
or ecx, edx
lea edx, [edi + edi]
mov dword [eax + 0x11c], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x11c]
and ecx, 0xefffffff
or ecx, edx
mov dword [eax + 0x11c], ecx
mov eax, dword [esp + 0x4c]
mov ecx, ebx
mov edx, dword [eax + 0x120]
shr ecx, 0x13
and ecx, 0x200
and dh, 0xfd
or ecx, edx
mov dword [eax + 0x120], ecx
mov eax, dword [esp + 0x4c]
mov ecx, ebx
mov edx, dword [eax + 0x120]
shr ecx, 0x11
and ecx, 0x400
and dh, 0xfb
or ecx, edx
mov dword [eax + 0x120], ecx
mov eax, dword [esp + 0x4c]
mov ecx, ebx
mov edx, dword [eax + 0x120]
shr ecx, 0x12
and ecx, 0x800
and dh, 0xf7
or ecx, edx
mov dword [eax + 0x120], ecx
mov eax, dword [esp + 0x4c]
shr ebx, 0x10
mov ecx, dword [eax + 0x120]
mov edx, dword [eax + 0x120]
xor ecx, ebx
and ecx, 0x2000
xor edx, ecx
mov dword [eax + 0x120], edx
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x120]
mov ecx, dword [eax + 0x120]
xor edx, ebx
and edx, 0x4000
xor ecx, edx
mov dword [eax + 0x120], ecx
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042b580
add esp, 0x10
test eax, eax
je 0x4298d0
mov ecx, dword [esp + 0x40]
push ecx
push eax
push eax
push 2
call fcn.0042eac0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 0x118]
push 0
test ebp, eax
push esi
je 0x429a39
call fcn.0042d5a0
add esp, 8
test eax, eax
jne 0x429a45
mov cl, byte [esi + 0x10c]
movsx eax, cl
dec eax
cmp eax, 6
ja case.default.0x429908
jmp dword [eax*4 + 0x429bf8]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0xac]
lea edx, [eax + 4]
mov dword [esi + 0x2c], edx
lea edx, [ecx + eax - 4]
mov dword [esi + 0x30], edx
jmp 0x4299af
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0xac]
mov dword [esi + 0x2c], eax
lea edx, [ecx + eax - 1]
mov dword [esi + 0x30], edx
jmp 0x4299af
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0xac]
mov dword [esi + 0x2c], eax
add edx, eax
mov eax, dword [esi + 0x11c]
mov dword [esi + 0x30], edx
test eax, 0x8000000
je 0x4299d3
mov eax, dword [esi + 0x118]
test ebp, eax
je 0x4299af
test ah, 0x10
je 0x4299af
cmp cl, 1
jne 0x4299af
add edx, 0xfffffffe
mov dword [esi + 0x30], edx
jmp 0x4299af
push esi
push 0xc000002c
push 0xc000002c
push 1
call fcn.0042eac0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x1b4
push 0x48c670
push 2
push 0xc0000008
call fcn.0042ea90
add esp, 0x10
test dword [esi + 0x11c], 0x8000000
je 0x4299d3
mov eax, dword [esi + 0x118]
test ebp, eax
je 0x4299d3
test ah, 0x10
je 0x4299d3
cmp byte [esi + 0x10c], 1
je 0x429a09
mov al, byte [esi + 0x10e]
cmp al, 2
jne 0x4299f0
mov al, byte [esi + 0x10c]
cmp al, 7
je 0x429a09
cmp al, 6
je 0x429a09
dec dword [esi + 0x30]
jmp 0x429a09
cmp al, 1
jne 0x429a09
mov al, byte [esi + 0x10c]
cmp al, 7
je 0x429a05
cmp al, 6
je 0x429a05
dec dword [esi + 0x30]
add dword [esi + 0x2c], 5
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x10e], 1
jne 0x429b14
mov ecx, dword [eax + 0x2c]
mov byte [ecx], 0x20
mov eax, dword [esp + 0x40]
inc dword [eax + 0x2c]
jmp 0x429b14
call fcn.0042d5a0
add esp, 8
test eax, eax
je 0x429a62
push esi
push 0xc0000026
push 0xc0000026
push 1
call fcn.0042eac0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
movsx eax, byte [esi + 0x10c]
dec eax
cmp eax, 6
ja case.default.0x429a73
jmp dword [eax*4 + 0x429c14]
mov edx, dword [esp + 0x40]
test byte [edx + 0x11c], 2
je 0x429a97
mov eax, dword [esi + 0x28]
mov byte [eax + 2], 0
mov ecx, dword [esi + 0x28]
mov byte [ecx + 3], 1
jmp 0x429aa5
mov edx, dword [esi + 0x28]
mov byte [edx + 2], 1
mov eax, dword [esi + 0x28]
mov byte [eax + 3], 0
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0xac]
add edx, eax
lea ecx, [eax + 4]
mov dword [esi + 0x30], edx
mov dword [esi + 0x2c], ecx
jmp 0x429b14
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0xac]
lea ecx, [eax + 4]
lea eax, [edx + eax - 4]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], eax
jmp 0x429b14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0xac]
mov dword [esi + 0x2c], eax
lea edx, [ecx + eax - 1]
mov dword [esi + 0x30], edx
jmp 0x429b14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0xac]
add ecx, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
jmp 0x429b14
push 0x1ba
push str.E:_forrtl_build_for_stop.c
push 2
push 0xc0000008
call fcn.0042ea90
add esp, 0x10
mov ecx, dword [esp + 0x44]
xor eax, eax
test ecx, ecx
jle 0x429b34
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov edx, dword [edx + 0x2c]
mov bl, byte [esi + eax]
mov byte [edx + eax], bl
inc eax
cmp eax, ecx
jl 0x429b1e
mov esi, dword [esp + 0x10]
xor eax, eax
test esi, esi
jle 0x429b57
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
mov edx, dword [edx + 0x2c]
mov bl, byte [edi + eax]
add edx, ecx
inc eax
cmp eax, esi
mov byte [edx + eax - 1], bl
jl 0x429b3e
mov eax, dword [esp + 0x40]
add esi, ecx
mov edx, dword [eax + 0x2c]
add edx, esi
mov dword [eax + 0x2c], edx
mov eax, dword [esp + 0x40]
push eax
test dword [eax + 0x118], ebp
je 0x429b79
call fcn.0042c4b0
jmp 0x429b7e
call fcn.0042c220
add esp, 4
test eax, eax
je 0x429b9e
mov ecx, dword [esp + 0x40]
push ecx
push eax
push eax
push 1
call fcn.0042eac0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0xb4]
push eax
call fcn.0042fc00
add esp, 4
call fcn.004336b0
mov eax, dword [0x499e2c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
test eax, eax
je 0x429bdb
mov ecx, edi
dec ecx
neg ecx
sbb ecx, ecx
not ecx
and ecx, esi
push ecx
call fcn.0045fae0
add esp, 4
dec edi
neg edi
sbb edi, edi
not edi
and edi, esi
push edi
call fcn.0044ad00
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret