Function at 0x5d244a
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
or dword [esp + 0x40], 0xffffffff
lea eax, [esp + 0x64]
push ebx
xor ebx, ebx
mov dword [esp + 0x28], edx
push esi
push edi
push 8
mov edi, ecx
mov dword [esp + 0x2c], ebx
push ebx
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x40], ebx
call fcn.005fab50
mov eax, dword [edi]
add esp, 0xc
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x24], ebx
jne 0x5d2bd6
cmp byte [eax + 0x45], bl
jne 0x5d2bd6
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.005d22ff
mov esi, eax
mov dword [esp + 0x60], esi
test esi, esi
je 0x5d2bd6
push ebx
push ebx
push 0x6d
mov edx, esi
mov ecx, edi
call fcn.005e2c62
mov ebx, eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x78], ebx
add esp, 0xc
cmp dword [esi + 0xc], ecx
setne al
mov dword [esp + 0x50], eax
xor eax, eax
inc eax
test ebx, ebx
jne 0x5d2514
push ecx
push ecx
mov edx, esi
mov ecx, edi
call fcn.005d5bca
pop ecx
pop ecx
test eax, eax
jne 0x5d2511
and dword [esp + 0xc], eax
jmp 0x5d2518
xor eax, eax
inc eax
mov dword [esp + 0xc], eax
mov edx, esi
mov ecx, edi
call fcn.005cf7c3
test eax, eax
jne 0x5d2bd6
test ebx, ebx
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.005d233c
pop ecx
test eax, eax
jne 0x5d2bd6
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
mov edx, dword [esi + 0x48]
call fcn.005dbc8a
mov ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x10]
add ecx, ecx
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
push 9
pop edx
call fcn.005cd74f
xor ecx, ecx
mov dword [esp + 0x30], eax
inc ecx
add esp, 0xc
cmp eax, ecx
je 0x5d2bd6
mov ecx, dword [esp + 0x30]
xor edx, edx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], edx
mov dword [ecx + 0x38], eax
inc dword [edi + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x5d25ae
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5d259e
mov dword [esp + 0x44], edx
cmp dword [esp + 0x50], 0
je 0x5d25c5
push dword [esi]
lea edx, [esp + 0x74]
mov ecx, edi
call fcn.005cd7cb
add esp, 4
mov ecx, edi
call fcn.005ddf3f
mov ebx, eax
test ebx, ebx
je 0x5d2bd6
cmp byte [edi + 0x12], 0
jne 0x5d25e3
mov ecx, ebx
call fcn.005bc189
push dword [esp + 0x18]
xor eax, eax
mov ecx, edi
lea edx, [eax + 1]
call fcn.005d1769
cmp dword [esp + 0x54], 0
pop ecx
je 0x5d2619
push dword [esp + 0x1c]
mov edx, esi
mov ecx, edi
push dword [ebp + 8]
call fcn.005d239d
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], eax
push 0x20
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.005fab50
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x84]
mov edx, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], eax
call fcn.005c66c2
test eax, eax
jne 0x5d2bd6
mov eax, dword [esp + 0x2c]
test byte [eax + 0x18], 0x80
je 0x5d2670
inc dword [edi + 0x2c]
mov ecx, ebx
mov eax, dword [edi + 0x2c]
push eax
push 0
push 0x38
pop edx
mov dword [esp + 0x54], eax
call fcn.005b9192
pop ecx
pop ecx
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0xc]
jne 0x5d26f6
cmp dword [ebp + 8], 0
jne 0x5d26f6
test ecx, ecx
jne 0x5d26f6
cmp dword [esi + 0x38], ecx
jne 0x5d26f6
push dword [esi]
mov edx, dword [esp + 0x1c]
xor eax, eax
inc eax
mov ecx, edi
push eax
push dword [esi + 0x1c]
call fcn.005cd7f8
add esp, 0xc
test byte [esi + 0x24], 0x20
jne 0x5d26c5
push 0xffffffffffffffff
push dword [esi]
mov edx, 0x83
mov ecx, ebx
push dword [esp + 0x54]
push dword [esp + 0x24]
push dword [esi + 0x1c]
call fcn.005b9258
add esp, 0x14
mov esi, dword [esi + 8]
test esi, esi
je 0x5d2b7d
mov edi, dword [esp + 0x18]
push edi
push dword [esi + 0x2c]
mov edx, 0x83
mov ecx, ebx
call fcn.005b9192
mov esi, dword [esi + 0x14]
pop ecx
pop ecx
test esi, esi
jne 0x5d26d4
mov edi, dword [esp + 0x20]
jmp 0x5d2b7d
test byte [esp + 0x94], 0x40
push 1
pop eax
cmovne ecx, eax
xor edx, edx
test ecx, ecx
mov ecx, 0x414
push 8
pop eax
cmovne eax, edx
or ax, cx
test byte [esi + 0x24], 0x20
movzx eax, ax
mov dword [esp + 0x24], eax
jne 0x5d2748
and dword [esp + 0xc], edx
xor eax, eax
inc eax
mov ecx, ebx
inc dword [edi + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x2c]
push eax
push edx
push 0x3b
pop edx
mov dword [esp + 0x5c], eax
call fcn.005b9192
pop ecx
pop ecx
jmp 0x5d2797
mov ecx, esi
call fcn.005ce23e
mov dword [esp + 0xc], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x18], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x44], edx
mov ecx, ebx
mov edx, dword [edi + 0x28]
push edx
mov dword [edi + 0x2c], eax
mov dword [esp + 0x40], edx
lea eax, [edx + 1]
push 0x6c
pop edx
mov dword [edi + 0x28], eax
call fcn.005b9192
mov edx, dword [esp + 0x14]
pop ecx
pop ecx
mov ecx, edi
mov dword [esp + 0x34], eax
call fcn.005b98f7
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov edx, dword [esp + 0x30]
inc eax
push eax
push dword [esp + 0x28]
push 0
push 0
push dword [ebp + 8]
call fcn.005ed016
add esp, 0x14
mov dword [esp + 0x24], eax
test eax, eax
je 0x5d2bd6
lea edx, [esp + 0x64]
mov ecx, eax
call fcn.005e9286
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
test byte [eax + 0x18], 0x80
je 0x5d27ef
xor eax, eax
mov ecx, ebx
inc eax
push eax
push dword [esp + 0x50]
push 0x45
pop edx
call fcn.005b9192
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5d2846
mov eax, dword [esp + 0x18]
and dword [esp + 0x14], 0
cwde
test eax, eax
jle 0x5d283c
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov edx, esi
add eax, edi
push eax
mov eax, dword [ecx + 4]
mov ecx, ebx
movsx eax, word [eax + edi*2]
push eax
push dword [esp + 0x24]
call fcn.005c954c
mov ecx, dword [esp + 0x24]
add esp, 0xc
movsx eax, cx
inc edi
mov ecx, dword [esp + 0xc]
cmp edi, eax
jl 0x5d2809
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
jmp 0x5d286b
mov eax, dword [edi + 0x2c]
mov edx, esi
push 0
inc eax
mov ecx, edi
push eax
push dword [esp + 0x24]
push 0xffffffffffffffff
call fcn.005c95f1
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 0x2c]
jle 0x5d286b
mov dword [edi + 0x2c], eax
cmp dword [esp + 0x10], 0
je 0x5d2908
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
movzx eax, ax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
add eax, 2
cdq
push edx
push eax
call fcn.005a2627
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x5d28ae
mov ecx, dword [esp + 0x24]
call fcn.005ed836
jmp 0x5d2bd6
mov eax, dword [esp + 0x44]
inc eax
push eax
xor eax, eax
inc eax
push eax
push ecx
call fcn.005fab50
mov eax, dword [esp + 0x50]
add esp, 0xc
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov byte [eax + edx + 1], 0
mov eax, dword [esp + 0x64]
test eax, eax
js 0x5d28e0
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x68]
test eax, eax
js 0x5d28ee
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5d2a2b
mov edx, eax
mov ecx, ebx
call fcn.005b978a
jmp 0x5d2a2b
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5d2a11
inc dword [edi + 0x2c]
mov edx, ecx
mov eax, dword [edi + 0x2c]
and dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
movsx esi, ax
push esi
push ecx
mov ecx, dword [edi]
call fcn.005d623b
pop ecx
push eax
push dword [esp + 0x1c]
mov ecx, ebx
push esi
push dword [esp + 0x50]
push 0x63
pop edx
call fcn.005b9258
add esp, 0x14
mov ecx, ebx
push esi
push dword [esp + 0x44]
push dword [esp + 0x1c]
push dword [esp + 0x44]
push 0x7e
pop edx
call fcn.005b930f
mov esi, dword [esp + 0x70]
add esp, 0x10
mov ecx, dword [esp + 0x24]
call fcn.005ed836
cmp dword [esp + 0x50], 0
jne 0x5d29cb
and dword [esp + 0x34], 0
cmp dword [esp + 0x10], 2
jne 0x5d2995
push 0x14
pop edx
mov ecx, ebx
call fcn.005b9170
mov dword [esp + 0x34], eax
lea eax, [esp + 0x5c]
mov edx, esi
push eax
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
push dword [esp + 0x44]
push dword [esp + 0x28]
push 8
push 0x69
call fcn.005d7d5c
mov eax, dword [esp + 0x28]
add esp, 0x18
cmp eax, 2
jne 0x5d29cf
mov edx, dword [esp + 0x34]
mov ecx, ebx
call fcn.005b9643
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5d2a46
cmp dword [esi + 0x38], 0
mov ecx, dword [esp + 0x28]
jne 0x5d2a80
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x1c]
cmp byte [eax + ecx], 0
je 0x5d2a7c
mov eax, dword [esp + 0x20]
cwde
push eax
push dword [esp + 0x18]
push dword [esp + 0x60]
push ecx
push 0x1d
pop edx
mov ecx, ebx
call fcn.005b930f
add esp, 0x10
jmp 0x5d2a78
xor ecx, ecx
mov edx, 0x8f
inc ecx
push eax
push dword [esp + 0x58]
mov dword [esp + 0x28], ecx
mov ecx, ebx
call fcn.005b9192
pop ecx
pop ecx
cmp dword [esp + 0x10], 0
je 0x5d296b
mov ecx, ebx
call fcn.005b935e
mov dword [esp + 0x58], eax
jmp 0x5d2974
cmp dword [esp + 0xc], 0
mov ecx, ebx
je 0x5d2add
push dword [esp + 0x38]
push 0x25
pop edx
call fcn.005b917e
pop ecx
push dword [esp + 0x14]
mov ecx, ebx
mov dword [esp + 0x4c], eax
push dword [esp + 0x3c]
push 0x7a
pop edx
call fcn.005b9192
pop ecx
pop ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x38], 0
mov edx, esi
je 0x5d2af8
mov ecx, dword [esp + 0x2c]
call fcn.005e487f
mov edx, dword [esp + 0x60]
mov ecx, edi
mov esi, eax
call fcn.005e5608
push 0xfffffffffffffff4
push esi
push dword [esp + 0x1c]
xor esi, esi
mov ecx, ebx
inc esi
push esi
push 0
push 0xc
pop edx
call fcn.005b9258
add esp, 0x14
mov ecx, ebx
push 2
pop edx
call fcn.005b962b
mov ecx, edi
call fcn.005d17a3
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x5d2b2c
cmp dword [edi + 0x78], 0
jne 0x5d2b30
mov byte [edi + 0x14], 0
jmp 0x5d2b2c
push dword [esp + 0x14]
push 0
push dword [esp + 0x5c]
push 0x2a
pop edx
call fcn.005b910e
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x5d2a78
push dword [esp + 0x68]
cmp byte [edi + 0x12], 0
push eax
push 0xa
sete al
movzx eax, al
push eax
push dword [esp + 0x30]
push dword [esp + 0x28]
push dword [esp + 0x74]
push ecx
push dword [esp + 0x8c]
mov ecx, edi
call fcn.005d2c0a
mov eax, dword [esp + 0x34]
add esp, 0x24
test eax, eax
je 0x5d2b46
mov edx, dword [esp + 0x58]
mov ecx, ebx
call fcn.005b93a0
mov ecx, dword [esp + 0x24]
call fcn.005ed836
jmp 0x5d2b7d
cmp dword [esp + 0xc], 0
mov ecx, ebx
je 0x5d2b69
mov esi, dword [esp + 0x48]
lea eax, [esi + 1]
push eax
push dword [esp + 0x3c]
push 7
pop edx
call fcn.005b9192
pop ecx
pop ecx
mov edx, esi
jmp 0x5d2b76
mov edx, dword [esp + 0x48]
call fcn.005b91a7
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.005b9643
cmp byte [edi + 0x12], 0
jne 0x5d2b90
cmp dword [edi + 0x7c], 0
jne 0x5d2b90
mov ecx, edi
call fcn.005d65f9
mov eax, dword [esp + 0x2c]
test byte [eax + 0x18], 0x80
je 0x5d2bd6
cmp byte [edi + 0x12], 0
jne 0x5d2bd6
cmp dword [edi + 0x7c], 0
jne 0x5d2bd6
xor esi, esi
mov ecx, ebx
inc esi
push esi
push dword [esp + 0x50]
push 0x43
pop edx
call fcn.005b9192
mov edx, esi
mov ecx, ebx
call fcn.005ba444
push 0
push 0x4ac874
push 0
xor edx, edx
mov ecx, ebx
call fcn.005ba4ac
add esp, 0x14
lea ecx, [esp + 0x70]
call fcn.005cd7e4
mov edi, dword [esp + 0x2c]
mov ecx, edi
mov edx, dword [esp + 0x30]
call fcn.005d1345
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.005c74e2
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.005a2404
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret