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

Disassembly:
push 0xffffffffffffffff
push 0x591431b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [esp + 0x60]
push esi
push edi
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x54], 0
call fcn.59094760
mov eax, dword [esp + 0x68]
mov edi, 1
mov dword [esp + 0x5c], edi
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x59054a4a
mov esi, dword [esp + 0x64]
push 0x591959c4
mov ecx, esi
call fcn.59099c70
mov dword [esp + 0x50], edi
jmp 0x59054aa8
push eax
call fcn.590c62a0
add esp, 4
test eax, eax
je 0x59054ac9
push 0x591959c4
lea ecx, [esp + 0x14]
call fcn.59099c70
mov edx, dword [esp + 0x68]
push 0x591959c4
lea ecx, [esp + 0x14]
push str.UTF_8
push ecx
push edx
mov byte [esp + 0x6c], 2
call fcn.590c6620
mov esi, dword [esp + 0x74]
add esp, 0x10
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.59099a10
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], edi
mov byte [esp + 0x5c], 1
call fcn.5909a410
lea ecx, [esp + 0x68]
mov byte [esp + 0x5c], 0
call fcn.59095090
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
mov eax, dword [0x5914f850]
push ebx
push ebp
mov dword [esp + 0x20], eax
mov byte [esp + 0x64], 3
mov dword [esp + 0x14], eax
push 0x591959c4
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 4
call fcn.59099c70
mov bl, 5
mov byte [esp + 0x64], bl
push 0x59178228
lea ecx, [esp + 0x74]
call fcn.59096210
mov esi, eax
cmp esi, 0xffffffff
je 0x59054ea7
test esi, esi
jle 0x59054b8c
lea ecx, [esp + 0x30]
push esi
push ecx
lea ecx, [esp + 0x78]
call fcn.590976b0
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x68], 7
call fcn.59099b10
lea edx, [esp + 0x24]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x68], 8
call fcn.5909b0c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 7
call fcn.5909a410
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.59095090
lea eax, [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0x78]
call fcn.59097280
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 9
call fcn.59095210
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], bl
call fcn.59095090
push 2
push 0x59173eec
lea ecx, [esp + 0x78]
call fcn.59096250
mov edi, eax
cmp edi, 0xffffffff
je 0x59054ed2
mov ecx, dword [esp + 0x70]
cmp byte [edi + ecx + 1], 0x3d
jne 0x59054c37
lea esi, [edi + 2]
lea edx, [esp + 0x38]
push esi
push edx
lea ecx, [esp + 0x78]
call fcn.590976b0
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x68], 0xb
call fcn.59099b10
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x68], 0xc
call fcn.5909b0c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 0xb
call fcn.5909a410
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], bl
call fcn.59095090
lea ecx, [esp + 0x3c]
push esi
push ecx
lea ecx, [esp + 0x78]
call fcn.59097280
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 0xd
call fcn.59095210
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], bl
call fcn.59095090
jmp 0x59054af6
lea edx, [edi - 2]
lea eax, [esp + 0x40]
push edx
push 2
push eax
lea ecx, [esp + 0x7c]
call fcn.590972b0
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x68], 0xe
call fcn.5909a770
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], bl
call fcn.59095090
lea ebp, [edi + 1]
lea ecx, [esp + 0x70]
push ebp
push 0x59173eec
call fcn.59096250
mov esi, eax
cmp esi, 0xffffffff
je 0x59054efd
mov ecx, esi
lea edx, [esp + 0x44]
sub ecx, edi
dec ecx
push ecx
push ebp
push edx
lea ecx, [esp + 0x7c]
call fcn.590972b0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x68], 0x10
call fcn.5909a770
lea ecx, [esp + 0x44]
mov byte [esp + 0x64], bl
call fcn.59095090
lea ecx, [esp + 0x14]
call fcn.5909de80
lea ecx, [esp + 0x14]
call fcn.5909e1a0
lea edi, [esi + 1]
lea ecx, [esp + 0x70]
push edi
push 0x59178224
call fcn.59096250
mov ebp, eax
cmp ebp, 0xffffffff
je 0x59054f28
sub eax, esi
lea ecx, [esp + 0x18]
dec eax
push eax
push edi
push ecx
lea ecx, [esp + 0x7c]
call fcn.590972b0
push 0x591949a0
push 0x59173eec
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0x12
call fcn.59096ed0
mov edx, dword [esp + 0x14]
push 0x59178220
push edx
call fcn.5907da38
add esp, 8
test eax, eax
jne 0x59054d30
push 0x591781fc
jmp 0x59054d4f
mov eax, dword [esp + 0x14]
push 0x591781f8
push eax
call fcn.5907da38
add esp, 8
test eax, eax
jne 0x59054e25
push str.base64
lea ecx, [esp + 0x18]
call fcn.5909a690
push 0x591959c4
lea ecx, [esp + 0x20]
call fcn.59099c70
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
mov byte [esp + 0x74], 0x16
call fcn.590c6620
add esp, 0x10
test eax, eax
je 0x59054d91
lea eax, [esp + 0x1c]
jmp 0x59054da9
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x48]
push edx
call fcn.59099b10
or dword [esp + 0x58], 2
mov byte [esp + 0x64], 0x17
push eax
lea ecx, [esp + 0x14]
call fcn.5909b0c0
mov al, byte [esp + 0x58]
mov dword [esp + 0x64], 0x16
test al, 2
je 0x59054dd6
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x48]
and al, 0xfd
mov dword [esp + 0x58], eax
call fcn.5909a410
add ebp, 2
lea eax, [esp + 0x4c]
push ebp
push eax
lea ecx, [esp + 0x78]
call fcn.59097280
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 0x18
call fcn.59095210
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 0x16
call fcn.59095090
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 0x12
call fcn.5909a410
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], bl
call fcn.59095090
jmp 0x59054af6
lea ecx, [esp + 0x50]
push 2
push ecx
lea ecx, [esp + 0x78]
call fcn.590976b0
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x68], 0x13
call fcn.59099b10
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x68], 0x14
call fcn.5909b0c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 0x13
call fcn.5909a410
lea ecx, [esp + 0x50]
mov byte [esp + 0x64], 0x12
call fcn.59095090
lea eax, [esp + 0x54]
push 2
push eax
lea ecx, [esp + 0x78]
call fcn.59097280
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 0x15
call fcn.59095210
lea ecx, [esp + 0x54]
mov byte [esp + 0x64], 0x12
call fcn.59095090
jmp 0x59054e13
mov ecx, dword [esp + 0x70]
push ecx
lea ecx, [esp + 0x30]
call fcn.59099b10
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x68], 6
call fcn.5909b0c0
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x2c]
jmp 0x59054f51
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x2c]
push eax
call fcn.59099b10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 0xa
push ecx
lea ecx, [esp + 0x14]
call fcn.5909b0c0
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x2c]
jmp 0x59054f51
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x2c]
push edx
call fcn.59099b10
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x68], 0xf
call fcn.5909b0c0
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x2c]
jmp 0x59054f51
mov ecx, dword [esp + 0x70]
push ecx
lea ecx, [esp + 0x30]
call fcn.59099b10
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x68], 0x11
call fcn.5909b0c0
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x2c]
call fcn.5909a410
mov esi, dword [esp + 0x6c]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.59099a10
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x10]
or al, 1
mov byte [esp + 0x64], 4
call fcn.5909a410
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 3
call fcn.5909a410
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 1
call fcn.5909a410
lea ecx, [esp + 0x70]
mov byte [esp + 0x64], 0
call fcn.59095090
mov ecx, dword [esp + 0x5c]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x58
ret