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

Disassembly:
push 0xffffffffffffffff
push 0x591399b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x8c]
call fcn.590bea20
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0x8c]
push eax
mov dword [esp + 0x144], 0
call fcn.590bee80
test eax, eax
jne 0x5900d58c
lea ecx, [esp + 0x8c]
mov dword [esp + 0x140], 0xffffffff
call fcn.590beb40
xor eax, eax
jmp 0x5900daee
mov ebp, dword [0x59190ab4]
push 0
push 0
call ebp
mov edi, eax
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x8c]
mov byte [esp + 0x140], 1
call fcn.590c0880
mov ebx, dword [0x59190ac0]
test eax, eax
je 0x5900d5f1
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.590c5fc0
mov esi, dword [eax]
push edi
mov byte [esp + 0x144], 2
call ebx
push esi
call dword [0x59190abc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], eax
mov byte [esp + 0x140], 1
call fcn.5909a410
push 0
push 0
call ebp
mov dword [esp + 0x18], eax
mov edi, dword [0x59190ab8]
lea edx, [esp + 0x58]
mov byte [esp + 0x140], 3
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], 2
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 3
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x8c]
mov esi, dword [eax]
push esi
mov dword [esp + 0x54], esi
call fcn.590c08b0
xor ebp, ebp
mov dword [esp + 0x24], eax
test eax, eax
jle 0x5900d6fb
jmp 0x5900d65c
mov esi, dword [esp + 0x50]
push esi
push ebp
lea ecx, [esp + 0x94]
call fcn.590c08e0
mov esi, eax
test esi, esi
je 0x5900d6ee
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5900d699
push eax
call edi
test eax, eax
jbe 0x5900d699
push 0x59172460
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push 0x59172460
lea ecx, [esp + 0x20]
call fcn.5900db20
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.590c5fc0
mov eax, dword [eax]
mov byte [esp + 0x140], 4
push eax
call dword [0x59190abc]
mov esi, eax
mov dword [esp + 0x4c], esi
push esi
mov byte [esp + 0x144], 5
call edi
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.5900db20
push esi
mov byte [esp + 0x144], 4
call ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x140], 3
call fcn.5909a410
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jl 0x5900d658
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ecx, 4
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jne 0x5900d631
push 0
push 0
call dword [0x59190ab4]
mov esi, eax
mov dword [esp + 0x14], esi
lea edx, [esp + 0x24]
lea ecx, [esp + 0x8c]
push edx
mov byte [esp + 0x144], 6
call fcn.590c0850
mov ebp, dword [eax]
push esi
mov byte [esp + 0x144], 7
call ebx
push ebp
call dword [0x59190abc]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
mov byte [esp + 0x140], 6
call fcn.5909a410
push 0
push 0
call dword [0x59190ab4]
mov dword [esp + 0x1c], eax
mov eax, dword [0x5914f850]
mov byte [esp + 0x140], 8
mov dword [esp + 0x28], eax
xor ebp, ebp
mov byte [esp + 0x140], 9
lea ecx, [esp + 0x64]
mov dword [esp + 0x48], ebp
call fcn.590c58d0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x140], 0xa
call fcn.590c2320
mov esi, eax
mov dword [esp + 0x10], ebp
test esi, esi
mov dword [esp + 0x24], esi
jle 0x5900d858
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x98]
call fcn.590c2390
test eax, eax
je 0x5900d847
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5900d80b
push eax
call edi
test eax, eax
jbe 0x5900d80b
push 0x59172460
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push 0x59172460
lea ecx, [esp + 0x24]
call fcn.5900db20
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x59190abc]
mov esi, eax
mov dword [esp + 0x4c], esi
push esi
mov byte [esp + 0x144], 0xb
call edi
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.5900db20
push esi
mov byte [esp + 0x144], 0xa
call ebx
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
add ebp, eax
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
mov dword [esp + 0x10], eax
jl 0x5900d7c3
mov eax, dword [esp + 0x148]
lea edx, [esp + 0x44]
push edx
push eax
mov dword [esp + 0x4c], 0
call fcn.5900d450
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
xor ebp, ebp
mov dword [esp + 0x40], ecx
add esp, 8
mov dword [esp + 0x3c], ecx
cmp eax, ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], edx
jne 0x5900d8a6
mov dword [esp + 0x30], ebp
jmp 0x5900d8ad
push eax
call edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x5900d8bb
mov dword [esp + 0x34], ebp
jmp 0x5900d8c2
push eax
call edi
mov dword [esp + 0x34], eax
mov esi, dword [esp + 0x14]
cmp esi, ebp
jne 0x5900d8d0
mov dword [esp + 0x38], ebp
jmp 0x5900d8d7
push esi
call edi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x5900d8e3
xor eax, eax
jmp 0x5900d8e6
push eax
call edi
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x44]
add eax, edx
add eax, ebp
mov dword [esp + 0x40], ecx
add eax, edi
lea eax, [eax + eax + 0x20]
push eax
call fcn.5912c500
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x5900d9a4
lea ecx, [esp + 0x78]
mov byte [esp + 0x140], 0xc
call fcn.590c4a70
lea ecx, [esp + 0x64]
mov byte [esp + 0x140], 9
call fcn.590c4a70
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 8
call fcn.5909a410
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x140], 6
push ecx
call ebx
push esi
mov byte [esp + 0x144], 3
call ebx
mov edx, dword [esp + 0x18]
mov byte [esp + 0x140], 1
push edx
call ebx
mov eax, dword [esp + 0x20]
mov byte [esp + 0x140], 0
push eax
call ebx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x140], 0xffffffff
call fcn.590beb40
xor eax, eax
jmp 0x5900daee
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
add edx, ecx
lea esi, [esp + 0x2c]
add edx, eax
xor eax, eax
add edx, edi
mov edi, ebp
lea ecx, [edx + edx + 0x20]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, 6
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
lea edi, [ebp + 0x18]
lea ecx, [eax + eax]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 4]
mov esi, dword [esp + 0x18]
lea ecx, [eax + eax]
lea edi, [ebp + edx*2 + 0x1a]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x14]
add ecx, ecx
add edx, edi
mov eax, ecx
lea edi, [ebp + edx*2 + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x3c]
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x1c]
add edx, eax
add ecx, ecx
add edx, edi
mov eax, ecx
lea edi, [ebp + edx*2 + 0x1e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
mov byte [esp + 0x140], 0xe
call fcn.590c4a70
lea ecx, [esp + 0x64]
mov byte [esp + 0x140], 9
call fcn.590c4a70
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 8
call fcn.5909a410
mov byte [esp + 0x140], 6
mov ecx, dword [esp + 0x1c]
push ecx
call ebx
mov edx, dword [esp + 0x14]
mov byte [esp + 0x140], 3
push edx
call ebx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x140], 1
push eax
call ebx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x140], 0
push ecx
call ebx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x140], 0xffffffff
call fcn.590beb40
mov eax, ebp
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret