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

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x4c]
test eax, eax
mov ecx, dword [esp + 0x50]
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
mov esi, dword [esp + 0x60]
push edi
lea edi, [eax + ecx]
mov dword [esp + 0x38], eax
cmove edi, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], 0xe2
mov dword [esp + 0x60], edi
cmp ebx, 2
jne 0x5b94c2
mov ebx, dword [esi + 0x74]
mov edx, ebx
mov eax, dword [esi + 0x10]
test ebx, ebx
mov dword [esp + 0x20], ebx
cmove edx, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], edx
mov ebp, dword [edx + 0xc]
mov dword [esp + 0x10], ebp
jmp 0x5b94e0
mov ebp, dword [esi + 0xc]
mov edx, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], 0
mov dword [esp + 0x64], esi
mov dword [esp + 0x24], edx
cmp ebx, 3
je 0x5b9531
cmp dword [esp + 0x20], 0
mov ebx, 0xa1
mov eax, 0x81
cmove ebx, eax
cmp dword [esp + 0x6c], 1
mov dword [esp + 0x18], ebx
jne 0x5b95d2
cmp edx, dword [edx + 0x10]
jne 0x5b95d2
test edi, edi
je 0x5b9525
mov dword [edi + 1], 0x1075053
mov word [edi + 5], 0xefbe
add edi, 7
mov dword [esp + 0x60], edi
mov byte [edi], 0
lea eax, [ecx + 7]
mov dword [esp + 0x44], eax
jmp 0x5b95d2
push dword [ebp + 0x10]
mov byte [esp + 0x68], 0x89
call fcn.005a26a0
movzx edx, byte [esp + 0x68]
mov ebx, 0xa000
push dword [ebp + 0x10]
cmp ax, bx
mov ecx, 0x8d
cmove edx, ecx
mov al, dl
or al, 0x40
cmp dword [esi + 0x74], 0
movzx ecx, al
movzx eax, dl
cmove ecx, eax
mov al, cl
or al, 0x10
cmp dword [esi + 0x78], 0
movzx ebx, al
movzx eax, cl
cmove ebx, eax
call fcn.005a26a0
mov ecx, 0x2000
add esp, 8
cmp ax, cx
je 0x5b95b5
push dword [ebp + 0x10]
mov al, bl
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x28], esi
call fcn.005a26a0
mov ecx, 0x6000
add esp, 4
cmp ax, cx
jne 0x5b95ce
or bl, 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x24], esi
jmp 0x5b95d2
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 5
jge 0x5b95f4
lea eax, [esp + 0x34]
push 5
push eax
call fcn.005b3f80
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
test edi, edi
je 0x5b9608
mov dword [edi + 1], 0x1055252
add edi, 5
mov dword [esp + 0x60], edi
mov byte [edi], bl
cmp dword [esp + 0x34], 0
je 0x5b9624
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5b9624
add dword [eax + 4], 5
mov ecx, dword [esp + 0x44]
mov edx, 0xff
add ecx, 5
mov dword [esp + 0x44], ecx
test bl, 8
je 0x5b9773
mov eax, dword [esp + 0x4c]
mov esi, dword [ebp + 0x24]
sub eax, ecx
mov ebp, dword [ebp + 0x20]
cmp eax, 6
jge 0x5b9668
lea eax, [esp + 0x34]
push 6
push eax
call fcn.005b3f80
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
mov edx, 0xff
test edi, edi
je 0x5b9676
mov word [edi + 1], 0x4d4e
mov byte [edi + 4], 1
mov ebx, dword [esp + 0x4c]
lea eax, [esi + 5]
sub ebx, dword [esp + 0x44]
cmp ebx, 0xff
cmova ebx, edx
cmp eax, ebx
jbe 0x5b9732
test edi, edi
je 0x5b96b0
lea eax, [ebx - 5]
mov byte [edi + 3], bl
push eax
lea eax, [edi + 6]
mov byte [edi + 5], 1
push ebp
push eax
call fcn.00541db0
add esp, 0xc
add edi, ebx
mov eax, 5
add ebp, 0xfffffffb
sub eax, ebx
add ebp, ebx
add esi, eax
cmp dword [esp + 0x34], 0
je 0x5b96d9
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5b96d9
add dword [eax + 4], ebx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add ecx, ebx
sub eax, ecx
mov dword [esp + 0x44], ecx
cmp eax, 6
jge 0x5b9715
lea eax, [esp + 0x34]
push 6
push eax
call fcn.005b3f80
mov ebx, dword [esp + 0x54]
add esp, 8
sub ebx, dword [esp + 0x44]
mov edx, 0xff
cmp ebx, 0xff
mov edi, eax
cmova ebx, edx
test edi, edi
je 0x5b9723
mov word [edi + 1], 0x4d4e
mov byte [edi + 4], 1
lea eax, [esi + 5]
cmp eax, ebx
ja 0x5b9692
mov dword [esp + 0x60], edi
lea ebx, [esi + 5]
test edi, edi
je 0x5b9754
push esi
lea eax, [edi + 6]
mov byte [edi + 3], bl
push ebp
push eax
mov byte [edi + 5], 0
call fcn.00541db0
add esp, 0xc
add edi, ebx
mov dword [esp + 0x60], edi
cmp dword [esp + 0x34], 0
je 0x5b976f
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5b976f
add dword [eax + 4], ebx
add dword [esp + 0x44], ebx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0x2c
jge 0x5b9795
lea eax, [esp + 0x34]
push 0x2c
push eax
call fcn.005b3f80
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
test edi, edi
je 0x5b991d
mov ebp, dword [esp + 0x10]
add ebp, 0x10
mov dword [esp + 0x14], ebp
push dword [ebp]
call fcn.005a28b0
push dword [ebp]
movzx esi, ax
call fcn.005a2f90
push dword [ebp]
mov dword [esp + 0x68], eax
call fcn.005a2780
mov ecx, dword [esp + 0x74]
add esp, 0xc
mov dword [esp + 0x60], eax
mov ecx, dword [ecx + 0x10228]
and ecx, 0x1800000
cmp ecx, 0x1000000
jne 0x5b97f2
and esi, 0xf16d
or esi, 0x16d
movzx ebx, si
mov edx, ebx
mov dword [edi + 1], 0x12c5850
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov byte [edi + 5], bl
mov byte [edi + 6], dl
mov byte [edi + 7], cl
mov byte [edi + 8], al
mov byte [edi + 9], al
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], dl
mov byte [edi + 0xc], bl
push dword [ebp]
call fcn.005a2950
mov ebx, eax
lea esi, [edi + 0x25]
shr eax, 0x18
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
add esp, 4
mov byte [edi + 0x10], al
mov byte [edi + 0x11], al
mov byte [edi + 0xd], bl
mov byte [edi + 0x14], bl
mov ebx, dword [esp + 0x5c]
mov eax, ebx
shr eax, 0x18
mov byte [edi + 0xe], dl
mov byte [edi + 0xf], cl
mov byte [edi + 0x12], cl
mov ecx, ebx
mov byte [edi + 0x13], dl
mov edx, ebx
mov byte [edi + 0x18], al
mov byte [edi + 0x19], al
mov byte [edi + 0x15], bl
mov byte [edi + 0x1c], bl
mov ebx, dword [esp + 0x60]
mov eax, ebx
shr edx, 8
shr ecx, 0x10
shr eax, 0x18
mov byte [edi + 0x16], dl
mov byte [edi + 0x17], cl
mov byte [edi + 0x1a], cl
mov ecx, ebx
mov byte [edi + 0x1b], dl
mov edx, ebx
mov byte [edi + 0x20], al
mov byte [edi + 0x21], al
mov eax, dword [esp + 0x64]
shr edx, 8
shr ecx, 0x10
mov byte [edi + 0x1d], bl
mov byte [edi + 0x1e], dl
mov byte [edi + 0x1f], cl
mov byte [edi + 0x22], cl
mov byte [edi + 0x23], dl
mov byte [edi + 0x24], bl
test byte [eax + 0x88], 2
je 0x5b98f1
mov ebx, dword [eax + 0x58]
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
add edi, 0x2c
mov byte [esi + 1], dl
mov byte [esi + 6], dl
mov edx, dword [esp + 0x10]
mov byte [esi], bl
mov byte [esi + 2], cl
mov byte [esi + 3], al
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov byte [esi + 7], bl
mov dword [esp + 0x60], edi
jmp 0x5b9928
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x5b9901
mov eax, dword [eax + 0x68]
jmp 0x5b9904
mov eax, dword [ecx + 0x68]
push dword [eax + 0x14]
push esi
call fcn.005ba0d0
mov edx, dword [esp + 0x18]
add esp, 8
add edi, 0x2c
mov dword [esp + 0x60], edi
jmp 0x5b9928
mov edx, dword [esp + 0x10]
lea eax, [edx + 0x10]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x34], 0
je 0x5b9944
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5b9944
add dword [eax + 4], 0x2c
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
add ecx, 0x2c
mov dword [esp + 0x44], ecx
test al, 4
je 0x5b9be0
mov eax, dword [esp + 0x4c]
sub eax, ecx
cmp eax, 7
jge 0x5b997b
lea eax, [esp + 0x34]
push 7
push eax
call fcn.005b3f80
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x10]
xor bl, bl
mov esi, dword [eax + 0x38]
test edi, edi
je 0x5b9992
mov byte [edi + 4], 1
mov word [edi + 1], 0x4c53
mov eax, dword [esp + 0x4c]
mov ecx, 0xff
sub eax, dword [esp + 0x44]
cmp eax, 0xff
mov byte [esp + 0x5c], 0
cmovg eax, ecx
xor ebp, ebp
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x1c], eax
cmp byte [esi], al
je 0x5b9b44
mov eax, edi
lea ecx, [edi + 6]
neg eax
mov edx, 0xb
mov edi, ebp
sbb eax, eax
and eax, ecx
cmp edx, dword [esp + 0x2c]
jge 0x5b9b3c
test bl, bl
jne 0x5b9a08
cmp byte [esi], 0x2f
jne 0x5b9a0d
test eax, eax
je 0x5b99f8
mov ecx, eax
mov byte [eax + 1], bl
mov dword [esp + 0x1c], ecx
add eax, 2
mov byte [ecx], 8
add ebp, 2
add edx, 2
inc esi
mov bl, 0x2f
xor edi, edi
jmp 0x5b9b33
cmp bl, 0x2f
jne 0x5b9a24
cmp byte [esi], 0x2e
jne 0x5b9a24
cmp byte [esi + 1], 0x2e
jne 0x5b9a24
mov cl, byte [esi + 2]
cmp cl, 0x2f
je 0x5b9a42
test cl, cl
je 0x5b9a42
mov cl, byte [esi]
cmp cl, 0x2f
jne 0x5b9a72
cmp byte [esi + 1], 0x2e
jne 0x5b9a72
cmp byte [esi + 2], 0x2e
jne 0x5b9a72
mov ch, byte [esi + 3]
cmp ch, cl
je 0x5b9a42
test ch, ch
jne 0x5b9a72
test eax, eax
je 0x5b9a56
mov ecx, eax
mov byte [eax + 1], 0
mov dword [esp + 0x1c], ecx
add eax, 2
mov byte [ecx], 4
xor ecx, ecx
add ebp, 2
add edx, 2
xor edi, edi
cmp byte [esi], 0x2f
mov bl, 0x2e
sete cl
add ecx, 2
add esi, ecx
jmp 0x5b9b33
test bl, bl
je 0x5b9a7b
cmp bl, 0x2f
jne 0x5b9a8f
cmp cl, 0x2e
jne 0x5b9a8f
mov ch, byte [esi + 1]
lea ebx, [esi + 1]
cmp ch, 0x2f
je 0x5b9ab8
test ch, ch
je 0x5b9ab8
cmp cl, 0x2f
jne 0x5b9ae8
cmp byte [esi + 1], 0x2e
lea ecx, [esi + 1]
mov dword [esp + 0x28], ecx
jne 0x5b9af5
mov bl, byte [esi + 2]
mov byte [esp + 0x64], bl
mov ebx, ecx
cmp byte [esp + 0x64], 0x2f
je 0x5b9ab8
cmp byte [esp + 0x64], 0
jne 0x5b9af5
test eax, eax
je 0x5b9acc
mov ecx, eax
mov byte [eax + 1], 0
mov dword [esp + 0x1c], ecx
add eax, 2
mov byte [ecx], 2
add ebp, 2
add edx, 2
cmp byte [esi], 0x2f
jne 0x5b9ae0
add esi, 2
mov bl, 0x2e
xor edi, edi
jmp 0x5b9b33
mov esi, ebx
xor edi, edi
mov bl, 0x2e
jmp 0x5b9b33
mov bl, cl
test edi, edi
jne 0x5b9b27
lea ecx, [esi + 1]
mov dword [esp + 0x28], ecx
test eax, eax
je 0x5b9b0e
mov ecx, eax
mov byte [eax + 1], 0
lea edi, [eax + 1]
mov dword [esp + 0x1c], ecx
add eax, 2
mov byte [ecx], 0
jmp 0x5b9b12
lea edi, [esp + 0x5c]
mov bl, byte [esi]
add ebp, 2
mov ecx, dword [esp + 0x28]
add edx, 2
mov esi, ecx
cmp bl, 0x2f
jne 0x5b9b28
jmp 0x5b9b33
inc esi
test eax, eax
je 0x5b9b31
mov byte [eax], bl
inc eax
inc byte [edi]
inc ebp
inc edx
cmp byte [esi], 0
jne 0x5b99d2
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x1c]
cmp byte [esi], 0
lea edx, [ebp + 5]
je 0x5b9bae
test edi, edi
je 0x5b9b60
or byte [eax], 1
mov byte [edi + 3], dl
mov byte [edi + 5], 1
add edi, edx
mov dword [esp + 0x60], edi
cmp dword [esp + 0x34], 0
je 0x5b9b7b
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5b9b7b
add dword [eax + 4], edx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add ecx, edx
sub eax, ecx
mov dword [esp + 0x44], ecx
cmp eax, 0xb
jge 0x5b9984
lea eax, [esp + 0x34]
push 0xb
push eax
call fcn.005b3f80
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
jmp 0x5b9984
test edi, edi
je 0x5b9bbb
mov byte [edi + 3], dl
mov byte [edi + 5], 0
add edi, edx
cmp dword [esp + 0x34], 0
je 0x5b9bd6
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5b9bd6
add dword [eax + 4], edx
add dword [esp + 0x44], edx
mov esi, dword [esp + 0x14]
jmp 0x5b9be7
lea esi, [edx + 0x10]
mov dword [esp + 0x14], esi
push dword [esi]
mov ebp, 5
xor bl, bl
mov dword [esp + 0x68], ebp
call fcn.005a1fb0
add esp, 4
test eax, eax
je 0x5b9c36
push dword [esi]
call fcn.005a1fa0
mov dword [esp + 0x60], eax
mov esi, edx
mov eax, dword [esp + 0x18]
push dword [eax]
call fcn.005a28c0
add esp, 8
cmp esi, edx
jg 0x5b9c32
jl 0x5b9c27
cmp dword [esp + 0x5c], eax
ja 0x5b9c32
mov ebp, 0xc
mov bl, 1
mov dword [esp + 0x64], ebp
mov esi, dword [esp + 0x14]
push dword [esi]
call fcn.005a28d0
add esp, 4
test eax, eax
je 0x5b9c4e
add ebp, 7
or bl, 2
mov dword [esp + 0x64], ebp
push dword [esi]
call fcn.005a1f80
add esp, 4
test eax, eax
je 0x5b9c66
add ebp, 7
or bl, 4
mov dword [esp + 0x64], ebp
push dword [esi]
call fcn.005a2440
mov ecx, dword [esp + 0x68]
add esp, 4
test eax, eax
je 0x5b9c82
add ecx, 7
or bl, 8
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, ecx
jge 0x5b9ca2
push ecx
lea eax, [esp + 0x38]
push eax
call fcn.005b3f80
mov ecx, dword [esp + 0x6c]
add esp, 8
mov edi, eax
test edi, edi
je 0x5b9d30
mov word [edi + 1], 0x4654
mov byte [edi + 3], cl
mov byte [edi + 4], 1
add edi, 5
mov byte [edi], bl
test bl, 1
je 0x5b9cd9
push dword [esi]
call fcn.005a1fa0
push edx
push eax
lea eax, [edi + 1]
push eax
call fcn.005ba560
add esp, 0x10
add edi, 7
test bl, 2
je 0x5b9cf6
push dword [esi]
call fcn.005a28c0
push edx
push eax
lea eax, [edi + 1]
push eax
call fcn.005ba560
add esp, 0x10
add edi, 7
test bl, 4
je 0x5b9d13
push dword [esi]
call fcn.005a1f70
push edx
push eax
lea eax, [edi + 1]
push eax
call fcn.005ba560
add esp, 0x10
add edi, 7
test bl, 8
je 0x5b9d30
push dword [esi]
call fcn.005a2430
push edx
push eax
lea eax, [edi + 1]
push eax
call fcn.005ba560
add esp, 0x10
add edi, 7
cmp dword [esp + 0x34], 0
mov ebp, dword [esp + 0x64]
je 0x5b9d4f
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5b9d4f
add dword [eax + 4], ebp
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
add ecx, ebp
mov dword [esp + 0x44], ecx
test bl, 0x40
je 0x5b9db3
mov eax, dword [esp + 0x4c]
sub eax, ecx
cmp eax, 4
jge 0x5b9d7e
lea eax, [esp + 0x34]
push 4
push eax
call fcn.005b3f80
add esp, 8
mov edi, eax
test edi, edi
je 0x5b9d92
mov word [edi + 1], 0x4552
mov byte [edi + 3], 4
add edi, 4
mov byte [edi], 1
cmp dword [esp + 0x34], 0
je 0x5b9dae
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5b9dae
add dword [eax + 4], 4
add dword [esp + 0x44], 4
test bl, 0x20
je 0x5b9e3b
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0xc
jge 0x5b9dda
lea eax, [esp + 0x34]
push 0xc
push eax
call fcn.005b3f80
add esp, 8
mov edi, eax
test edi, edi
je 0x5b9e1a
mov eax, dword [esp + 0x20]
mov dword [edi + 1], 0x10c4c50
mov ebx, dword [eax + 0x58]
mov edx, ebx
mov ecx, ebx
shr edx, 8
mov eax, ebx
shr ecx, 0x10
shr eax, 0x18
mov byte [edi + 5], bl
mov byte [edi + 0xc], bl
mov ebx, dword [esp + 0x18]
mov byte [edi + 6], dl
mov byte [edi + 7], cl
mov byte [edi + 8], al
mov byte [edi + 9], al
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], dl
add edi, 0xc
cmp dword [esp + 0x34], 0
je 0x5b9e36
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5b9e36
add dword [eax + 4], 0xc
add dword [esp + 0x44], 0xc
test bl, 0x10
je 0x5b9ec6
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0xc
jge 0x5b9e62
lea eax, [esp + 0x34]
push 0xc
push eax
call fcn.005b3f80
add esp, 8
mov edi, eax
test edi, edi
je 0x5b9ea5
mov eax, dword [esp + 0x24]
mov dword [edi + 1], 0x10c4c43
mov eax, dword [eax + 0x78]
mov ebx, dword [eax + 0x58]
mov edx, ebx
mov ecx, ebx
shr edx, 8
mov eax, ebx
shr ecx, 0x10
shr eax, 0x18
mov byte [edi + 5], bl
mov byte [edi + 0xc], bl
mov ebx, dword [esp + 0x18]
mov byte [edi + 6], dl
mov byte [edi + 7], cl
mov byte [edi + 8], al
mov byte [edi + 9], al
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], dl
add edi, 0xc
cmp dword [esp + 0x34], 0
je 0x5b9ec1
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5b9ec1
add dword [eax + 4], 0xc
add dword [esp + 0x44], 0xc
test bl, 2
je 0x5b9f78
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0x14
jge 0x5b9eed
lea eax, [esp + 0x34]
push 0x14
push eax
call fcn.005b3f80
add esp, 8
mov edi, eax
test edi, edi
je 0x5b9f57
mov dword [edi + 1], 0x1144e50
push dword [esi]
call fcn.005a2a70
mov ebx, eax
mov byte [edi + 5], 0
xor edx, edx
mov byte [edi + 0xc], 0
xor ecx, ecx
shr edx, 8
xor eax, eax
shr ecx, 0x10
shr eax, 0x18
add esp, 4
mov byte [edi + 6], dl
mov byte [edi + 7], cl
mov byte [edi + 8], al
mov byte [edi + 9], al
mov eax, ebx
mov byte [edi + 0xa], cl
mov ecx, ebx
mov byte [edi + 0xb], dl
mov edx, ebx
shr edx, 8
shr ecx, 0x10
shr eax, 0x18
mov byte [edi + 0xd], bl
mov byte [edi + 0xe], dl
mov byte [edi + 0xf], cl
mov byte [edi + 0x10], al
mov byte [edi + 0x11], al
mov byte [edi + 0x12], cl
mov byte [edi + 0x13], dl
mov byte [edi + 0x14], bl
add edi, 0x14
cmp dword [esp + 0x34], 0
je 0x5b9f73
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5b9f73
add dword [eax + 4], 0x14
add dword [esp + 0x44], 0x14
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x74], 0
je 0x5ba015
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0x10
jge 0x5b9fa8
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.005b3f80
mov ecx, dword [esp + 0x18]
add esp, 8
mov edi, eax
test edi, edi
je 0x5b9ff4
mov dword [edi + 1], 0x110465a
mov word [edi + 5], 0x7a70
movzx eax, byte [ecx + 0x74]
mov byte [edi + 7], al
movzx eax, byte [ecx + 0x75]
mov byte [edi + 8], al
mov ebx, dword [ecx + 0x78]
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov byte [edi + 9], bl
mov byte [edi + 0xa], dl
mov byte [edi + 0xb], cl
mov byte [edi + 0xc], al
mov byte [edi + 0xd], al
mov byte [edi + 0xe], cl
mov byte [edi + 0xf], dl
mov byte [edi + 0x10], bl
add edi, 0x10
cmp dword [esp + 0x34], 0
je 0x5ba010
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5ba010
add dword [eax + 4], 0x10
add dword [esp + 0x44], 0x10
cmp dword [esp + 0x6c], 1
jne 0x5ba067
mov eax, dword [esp + 0x24]
cmp eax, dword [eax + 0x10]
jne 0x5ba067
test edi, edi
je 0x5ba046
mov eax, dword [esp + 0x68]
push 0xed
push 0
push dword [eax + 0x10c]
lea eax, [edi + 1]
push eax
call fcn.005b8ec0
add esp, 0x10
cmp dword [esp + 0x34], 0
je 0x5ba062
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x5ba062
add dword [eax + 4], 0x1c
add dword [esp + 0x44], 0x1c
mov eax, dword [esp + 0x44]
xor ecx, ecx
pop edi
pop esi
pop ebp
pop ebx
test al, 1
je 0x5ba08b
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x5ba086
mov byte [ecx + eax], 0
mov ecx, 1
cmp dword [esp + 0x24], 0
je 0x5ba0ba
mov edx, dword [esp + 0x30]
test edx, edx
je 0x5ba0b2
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
push dword [esp + 0x44]
push dword [esp + 0x4c]
push edx
call fcn.005b8ec0
add esp, 0x10
mov eax, dword [esp + 0x38]
add esp, 0x48
ret
mov eax, dword [esp + 0x34]
add esp, 0x48
ret