Function at 0x590438a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59145e80
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
je 0x590438c8
mov dword [eax], esi
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
cmp ebp, esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
je 0x5904423a
cmp ebx, esi
je 0x5904423a
mov eax, dword [0x59155850]
mov dword [esp + 0x10], eax
mov edi, str.cookie
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x68], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x38], esi
push ecx
push str.cookie
push ebx
push ebp
call fcn.5900d130
add esp, 0x10
cmp eax, 0xffffffff
je 0x59043b06
mov ecx, dword [0x5915584c]
mov dword [esp + 0x14], ecx
add eax, ebp
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x6c], 1
call fcn.590994d0
lea edx, [esp + 0x38]
lea eax, [esp + 0x34]
push edx
push 0x59178ad4
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 2
call fcn.5909e2f0
mov bl, 3
mov byte [esp + 0x68], bl
mov edx, dword [esp + 0x34]
mov eax, dword [edx - 8]
test eax, eax
je 0x59043a67
mov edi, str._mpop
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x5917e6d8
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x59043a2a
lea ecx, [esp + 0x48]
lea edx, [esp + 0x4c]
push ecx
push 0x5917ba4c
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], eax
call fcn.5909e2f0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 4
call fcn.59099f80
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], bl
call fcn.59099e00
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59043a2a
push 0x5917afa4
lea ecx, [esp + 0x18]
call fcn.5909af80
cmp eax, 0xffffffff
jne 0x59043a2a
lea ecx, [esp + 0x48]
lea edx, [esp + 0x50]
push ecx
push 0x5917ba4c
push edx
lea ecx, [esp + 0x40]
call fcn.5909e2f0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 5
call fcn.59099f80
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], bl
call fcn.59099e00
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x590439d8
lea ecx, [esp + 0x38]
lea edx, [esp + 0x54]
push ecx
push 0x59178ad4
push edx
lea ecx, [esp + 0x4c]
call fcn.5909e2f0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 6
call fcn.59099f80
lea ecx, [esp + 0x54]
mov byte [esp + 0x68], bl
call fcn.59099e00
cmp esi, 7
jl 0x5904395f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59043ad8
push 0x5917afa4
lea ecx, [esp + 0x18]
call fcn.5909af80
cmp eax, 0xffffffff
je 0x59043ad8
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.590993d0
lea eax, [esp + 0x58]
mov byte [esp + 0x6c], bl
push eax
call fcn.5900abf0
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 8
call fcn.59099f80
lea ecx, [esp + 0x54]
mov byte [esp + 0x68], bl
call fcn.59099e00
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59043ad8
push eax
lea ecx, [esp + 0x14]
call fcn.5909f4e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 2
call fcn.59099e00
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 1
call fcn.59099e00
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 0
call fcn.59099e00
mov ebx, dword [esp + 0x74]
mov edi, str.func_name
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.func_name
push ebx
push ebp
call fcn.5900d130
mov ebx, eax
add esp, 0x10
cmp ebx, 0xffffffff
jne 0x59043b3e
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push ecx
push 0
push 0
push 0
push edx
jmp 0x59043bac
mov edi, str.func_name
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
add edx, ebx
add edx, ebp
mov al, byte [edx]
cmp al, 0x26
je 0x59043b83
cmp al, 0xd
je 0x59043b83
mov edi, str.func_name
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x74]
not ecx
dec ecx
sub eax, ebx
sub eax, ecx
cmp esi, eax
jge 0x59043b83
mov al, byte [esi + edx + 1]
inc esi
cmp al, 0x26
jne 0x59043b5b
mov edi, str.func_name
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x74]
not ecx
mov eax, edi
dec ecx
sub eax, ebx
sub eax, ecx
cmp esi, eax
jl 0x59043bc2
mov ecx, dword [esp + 0x78]
push ecx
push 0
push 0
push 0
push edi
push ebp
call fcn.59016580
add esp, 0x18
mov dword [esp + 0x68], 0xffffffff
jmp 0x59044231
test esi, esi
jle 0x59043be6
push esi
push str.send
push edx
call fcn.5908e200
add esp, 0xc
test eax, eax
je 0x59043bf5
mov dword [esp + 0x68], 0xffffffff
jmp 0x59044231
jne 0x59043bf5
mov dword [esp + 0x68], 0xffffffff
jmp 0x59044231
push 0x5917ae30
push edi
push ebp
call fcn.5900f390
mov edx, eax
or esi, 0xffffffff
add esp, 0xc
cmp edx, esi
je 0x5904422d
mov edi, 0x5917ae30
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x74]
not ecx
dec ecx
add edx, ecx
lea ecx, [esp + 0x30]
sub eax, edx
add ebp, edx
push eax
push ebp
call fcn.590998b0
lea edx, [esp + 0x38]
lea eax, [esp + 0x70]
push edx
push 0x5917a4c4
mov byte [esp + 0x70], 0xa
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], 0
call fcn.5907afc0
mov edx, dword [esp + 0x70]
mov byte [esp + 0x68], 0xb
mov eax, dword [edx - 8]
test eax, eax
jne 0x59043c7c
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 0xa
call fcn.59099e00
jmp 0x5904421f
mov eax, dword [0x59155850]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x68], 0xd
mov dword [esp + 0x28], eax
mov byte [esp + 0x68], 0xe
mov dword [esp + 0x24], eax
mov byte [esp + 0x68], 0xf
mov dword [esp + 0x20], eax
mov byte [esp + 0x68], 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x68], 0x11
mov dword [esp + 0x18], eax
mov byte [esp + 0x68], 0x12
mov dword [esp + 0x44], eax
mov eax, dword [edx - 8]
mov bl, 0x13
test eax, eax
mov byte [esp + 0x68], bl
je 0x59043fba
mov edi, 0x5917a290
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x5917a290
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x59043d84
mov edi, 0x5917a290
mov ecx, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0xfde9
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push ecx
push edx
lea ecx, [esp + 0x80]
call fcn.5909bff0
lea eax, [esp + 0x5c]
mov byte [esp + 0x70], bl
push eax
call fcn.5900abf0
add esp, 8
mov ecx, eax
mov byte [esp + 0x6c], 0x15
call fcn.5901a730
push eax
lea ecx, [esp + 0x34]
call fcn.590a35e0
lea ecx, [esp + 0x54]
mov byte [esp + 0x68], bl
call fcn.59099e00
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59043d84
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.5900ad50
add esp, 8
lea edx, [esp + 0x74]
lea ecx, [esp + 0x28]
push edx
mov byte [esp + 0x6c], 0x16
call fcn.5909f310
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], bl
call fcn.5909f180
mov edi, 0x5917a270
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x70]
not ecx
dec ecx
push ecx
push eax
push 0x5917a270
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x59043e03
mov edi, 0x5917a270
mov ecx, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0xfde9
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push ecx
push edx
lea ecx, [esp + 0x80]
call fcn.5909bff0
lea eax, [esp + 0x58]
mov byte [esp + 0x70], bl
push eax
call fcn.5900abf0
add esp, 8
mov ecx, eax
mov byte [esp + 0x6c], 0x18
call fcn.5901a730
push eax
lea ecx, [esp + 0x2c]
call fcn.590a35e0
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], bl
call fcn.59099e00
mov edi, 0x5917a26c
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x74]
push ecx
push 0x5917a26c
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x59043e7f
push 0xfde9
push 0x5917e520
call fcn.5908146d
mov edx, esp
mov dword [esp + 0x1c], esp
push eax
push edx
lea ecx, [esp + 0x80]
call fcn.5909bff0
lea eax, [esp + 0x54]
mov byte [esp + 0x70], bl
push eax
call fcn.5900abf0
add esp, 8
mov ecx, eax
mov byte [esp + 0x6c], 0x1a
call fcn.5901a730
push eax
lea ecx, [esp + 0x28]
call fcn.590a35e0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], bl
call fcn.59099e00
mov edi, 0x5917a264
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x74]
push ecx
push 0x5917a264
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x59043efb
push 0xfde9
push str.bcc
call fcn.5908146d
mov edx, esp
mov dword [esp + 0x1c], esp
push eax
push edx
lea ecx, [esp + 0x80]
call fcn.5909bff0
lea eax, [esp + 0x50]
mov byte [esp + 0x70], bl
push eax
call fcn.5900abf0
add esp, 8
mov ecx, eax
mov byte [esp + 0x6c], 0x1c
call fcn.5901a730
push eax
lea ecx, [esp + 0x24]
call fcn.590a35e0
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], bl
call fcn.59099e00
mov edi, 0x5917a284
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x74]
push ecx
push 0x5917a284
call fcn.5908e200
add esp, 0xc
test eax, eax
jne 0x59043f77
push 0xfde9
push str.subject
call fcn.5908146d
mov edx, esp
mov dword [esp + 0x1c], esp
push eax
push edx
lea ecx, [esp + 0x80]
call fcn.5909bff0
lea eax, [esp + 0x48]
mov byte [esp + 0x70], bl
push eax
call fcn.5900abf0
add esp, 8
mov ecx, eax
mov byte [esp + 0x6c], 0x1e
call fcn.5901a730
push eax
lea ecx, [esp + 0x20]
call fcn.590a35e0
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], bl
call fcn.59099e00
lea ecx, [esp + 0x38]
lea edx, [esp + 0x34]
push ecx
push 0x5917a4c4
push edx
lea ecx, [esp + 0x3c]
call fcn.5907afc0
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], 0x1f
call fcn.59099f80
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], bl
call fcn.59099e00
mov edx, dword [esp + 0x70]
mov eax, dword [edx - 8]
test eax, eax
jne 0x59043ccc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x59044076
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x59044076
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
test eax, eax
jne 0x59044076
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x59044076
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x59044076
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x12
call fcn.5909f180
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0x11
call fcn.5909f180
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 0x10
call fcn.5909f180
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 0xf
call fcn.5909f180
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0xe
call fcn.5909f180
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 0xd
call fcn.5909f180
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 0xb
call fcn.5909f180
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 0xa
call fcn.59099e00
jmp 0x5904421f
mov eax, dword [esp + 0x78]
test eax, eax
je 0x590440f9
mov dword [eax], 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x12
call fcn.5909f180
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0x11
call fcn.5909f180
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 0x10
call fcn.5909f180
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 0xf
call fcn.5909f180
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0xe
call fcn.5909f180
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 0xd
call fcn.5909f180
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 0xb
call fcn.5909f180
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 0xa
call fcn.59099e00
jmp 0x5904421f
lea edx, [esp + 0x3c]
push 0
push edx
call fcn.590543e0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
push 1
push 0
push 0
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ecx
mov byte [esp + 0x9c], 0x22
call fcn.5900c0f0
add esp, 0x34
test eax, eax
je 0x590441a2
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
push ebp
push edi
push edx
call fcn.5900bee0
add esp, 0xc
test eax, eax
je 0x590441a2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push 2
push 1
push ecx
push ebp
push edi
call fcn.5900e1b0
add esp, 0x44
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], bl
call fcn.59099e00
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x12
call fcn.5909f180
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0x11
call fcn.5909f180
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 0x10
call fcn.5909f180
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 0xf
call fcn.5909f180
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0xe
call fcn.5909f180
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 0xd
call fcn.5909f180
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 0xb
call fcn.5909f180
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 0xa
call fcn.59099e00
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0
call fcn.59099e00
mov dword [esp + 0x68], esi
lea ecx, [esp + 0x10]
call fcn.5909f180
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret