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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x128
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x24], ecx
xor ecx, ecx
nop word [eax + eax]
cmp eax, ecx
je 0x5b1c78
movzx ebx, byte [edx + ecx]
inc ecx
cmp bl, 9
je 0x5b1c60
add bl, 0xe0
cmp bl, 0x5f
jb 0x5b1c60
xor edx, edx
mov dword [esp + 0xcc], 1
mov dword [esp + 0xd0], edx
lea ecx, [esp + 0x70]
lea edx, [esp + 0xcc]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], 0x110000
mov dword [esp + 0x100], 0x110000
call fcn.005fd1c0
cmp dword [esp + 0x70], 0
je 0x5b1dad
movzx eax, byte [0x94bfc5]
xor ecx, ecx
mov edx, 0x30
mov dword [esp + 0x2c], 0
call fcn.0071ee80
test eax, eax
je 0x5b2476
mov ecx, dword [esp + 0x78]
mov ebx, eax
lea edi, [esp + 0x70]
lea esi, [esp + 0xcc]
mov ebp, 1
mov dword [ebx + 8], ecx
mov ecx, 0x17
movsd xmm0, qword [esp + 0x70]
movsd qword [ebx], xmm0
mov dword [esp + 0x3c], 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 1
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x64]
jmp 0x5b1d51
mov ecx, dword [esp + 0x6c]
lea eax, [esi + esi*2]
dec dword [esp + 0x2c]
inc esi
mov ebp, esi
mov dword [ebx + eax*4 + 8], ecx
movsd xmm0, qword [esp + 0x64]
movsd qword [ebx + eax*4], xmm0
mov dword [esp + 0x44], esi
mov ecx, edi
lea edx, [esp + 0x70]
call fcn.005fd1c0
cmp dword [esp + 0x64], 0
je 0x5b1d7c
cmp ebp, dword [esp + 0x3c]
mov esi, ebp
jne 0x5b1d30
lea ecx, [esp + 0x3c]
mov edx, esi
call fcn.0045d970
mov ebx, dword [esp + 0x40]
jmp 0x5b1d30
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edi, ebp
cmp ebp, 0x15
jae 0x5b1dbf
cmp edi, 1
jbe 0x5b1da4
mov edi, edx
mov edx, ebp
mov ecx, ebx
push 1
call fcn.005fd580
mov edx, edi
mov edi, ebp
add esp, 4
mov ecx, dword [esp + 0x24]
jmp 0x5b23b0
mov ecx, dword [esp + 0x24]
mov ebx, 4
xor edx, edx
xor edi, edi
jmp 0x5b23b0
lea eax, [edi + edi]
mov dword [esp + 0x48], edx
xor ecx, ecx
and eax, 0xfffffffc
lea edx, [eax + eax*2]
movzx eax, byte [0x94bfc5]
call fcn.0071ee80
test eax, eax
mov dword [esp + 8], eax
je 0x5b2485
movzx eax, byte [0x94bfc5]
xor ecx, ecx
mov edx, 0x80
call fcn.0071ee80
test eax, eax
je 0x5b248f
mov esi, eax
lea eax, [ebx + 0x20]
xor ebp, ebp
mov dword [esp + 0x38], 0x10
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], eax
lea eax, [ebx + 8]
mov dword [esp + 0x50], eax
lea eax, [ebx - 4]
mov dword [esp + 0x4c], eax
lea eax, [ebx - 0xc]
mov dword [esp + 0x54], eax
xor eax, eax
jmp 0x5b1e51
mov ebp, 1
mov eax, dword [esp + 0xc]
cmp eax, edi
jae 0x5b2389
mov edx, edi
lea ecx, [eax + eax*2]
mov dword [esp + 4], eax
sub edx, eax
lea eax, [ebx + ecx*4]
cmp edx, 2
mov dword [esp + 0x20], eax
jae 0x5b1e80
mov eax, edx
mov edx, dword [esp + 4]
lea ecx, [eax + edx]
mov edi, ecx
sub edi, edx
jae 0x5b1f71
jmp 0x5b2428
movzx edi, word [eax + 0x14]
cmp word [eax + 8], di
jae 0x5b2310
mov eax, 2
cmp edx, 2
mov dword [esp + 0x10], ebp
je 0x5b1ee5
mov dword [esp], esi
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 4]
lea ebx, [eax + esi]
mov eax, dword [esp + 0x34]
lea ebp, [eax + ecx*4]
mov eax, 2
nop word cs:[eax + eax]
mov esi, edi
movzx edi, word [ebp]
cmp si, di
jae 0x5b1eda
lea esi, [ebx + eax + 1]
inc eax
add ebp, 0xc
cmp esi, 1
jne 0x5b1ec0
mov eax, edx
mov ebx, dword [esp + 0x18]
mov esi, dword [esp]
mov ebp, dword [esp + 0x10]
mov edx, eax
mov dword [esp + 0x1c], ecx
add edx, dword [esp + 4]
jb 0x5b2458
mov ecx, dword [esp + 0x14]
mov edi, edx
mov dword [esp + 0xc], edx
cmp edx, ecx
ja 0x5b2466
mov ecx, dword [esp + 0x1c]
cmp eax, 2
jb 0x5b1f5f
mov ebp, esi
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov edx, eax
shr edx, 1
lea esi, [esi + ecx*4]
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + ecx*2]
lea edi, [edi + ecx*4]
nop dword [eax + eax]
movsd xmm0, qword [esi - 8]
movsd xmm1, qword [edi - 8]
movsd qword [esi - 8], xmm1
movsd qword [edi - 8], xmm0
mov ecx, dword [esi]
mov ebx, dword [edi]
mov dword [esi], ebx
mov dword [edi], ecx
add esi, 0xc
add edi, 0xfffffff4
dec edx
jne 0x5b1f30
mov esi, ebp
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov edi, ecx
sub edi, edx
jb 0x5b2428
cmp ecx, dword [esp + 0x14]
ja 0x5b2428
jae 0x5b1fc0
cmp eax, 0xa
jae 0x5b1fc0
mov ecx, dword [esp + 0x14]
lea edi, [edx + 0xa]
cmp edi, ecx
cmovae edi, ecx
mov dword [esp + 0xc], edi
sub edi, edx
jb 0x5b243c
mov ecx, dword [esp + 0x20]
cmp eax, 1
mov edx, edi
adc eax, 0
push eax
call fcn.005fd580
add esp, 4
mov edx, dword [esp + 4]
cmp ebp, dword [esp + 0x38]
je 0x5b1fca
jmp 0x5b201c
mov dword [esp + 0xc], ecx
cmp ebp, dword [esp + 0x38]
jne 0x5b201c
movzx eax, byte [0x94bfc5]
mov edx, ebp
xor ecx, ecx
shl edx, 4
call fcn.0071ee80
test eax, eax
je 0x5b244e
mov ecx, eax
lea eax, [ebp + ebp]
mov dword [esp + 0x38], eax
lea eax, [ebp*8]
push eax
push esi
push ecx
mov dword [esp + 0x2c], ecx
call fcn.007bd9b0
add esp, 0xc
push esi
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 4]
mov dword [esi + ebp*8], edi
mov edi, dword [esp + 0x14]
mov dword [esi + ebp*8 + 4], edx
inc ebp
mov dword [esp], esi
cmp ebp, 2
jae 0x5b20a3
jmp 0x5b1e45
mov eax, dword [esp + 8]
mov esi, dword [esp]
mov ecx, dword [esp + 4]
mov ebp, dword [esp + 0x10]
sub ebx, eax
lea edi, [ebp - 1]
push ebx
push eax
push ecx
call fcn.007bd9b0
add esp, 0xc
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
add eax, dword [esp + 0x30]
mov dword [esi + ecx*8 + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + ecx*8 + 0xc], eax
not ecx
lea eax, [edx + 8]
add ecx, ebp
shl ecx, 3
push ecx
push eax
push edx
call fcn.007bd9b0
add esp, 0xc
cmp edi, 1
mov ebp, edi
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jbe 0x5b1e40
mov eax, dword [esi + ebp*8 - 8]
mov ecx, dword [esi + ebp*8 - 4]
add ecx, eax
cmp ecx, edi
je 0x5b2100
mov edx, dword [esi + ebp*8 - 0x10]
cmp edx, eax
jbe 0x5b2100
cmp ebp, 2
jbe 0x5b2369
lea ecx, [ebp - 3]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + ebp*8 - 0x18]
lea esi, [edx + eax]
cmp ecx, esi
jbe 0x5b22f0
mov edi, dword [esp + 0x14]
cmp ebp, 3
jbe 0x5b2373
mov esi, dword [esp]
add edx, ecx
cmp dword [esi + ebp*8 - 0x20], edx
jbe 0x5b2110
jmp 0x5b2380
cmp ebp, 3
jb 0x5b2118
lea ecx, [ebp - 3]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + ebp*8 - 0x18]
mov edi, dword [esp + 0x28]
cmp ecx, eax
jb 0x5b211b
lea edi, [ebp - 2]
cmp ebp, edi
jbe 0x5b23cc
lea eax, [edi + 1]
mov dword [esp + 0x10], ebp
cmp ebp, eax
jbe 0x5b23d7
mov eax, dword [esi + edi*8 + 8]
mov ebp, dword [esi + edi*8 + 0xc]
mov ecx, dword [esi + edi*8 + 4]
add ebp, eax
mov esi, ebp
sub esi, ecx
jb 0x5b2410
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
cmp ebp, edx
ja 0x5b241c
mov edx, dword [esp]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x28], edi
lea eax, [edx + edi*8]
mov edx, dword [edx + edi*8]
mov dword [esp + 0x58], eax
lea eax, [ecx + ecx*2]
lea ecx, [ebx + eax*4]
mov dword [esp + 4], ecx
lea eax, [edx + edx*2]
mov dword [esp + 0x30], edx
lea edi, [ecx + eax*4]
lea eax, [ebp + ebp*2]
mov dword [esp + 0x1c], eax
mov eax, esi
sub eax, edx
cmp eax, edx
jae 0x5b2240
mov esi, eax
lea eax, [eax*4]
lea ebx, [eax + eax*2]
push ebx
push edi
mov ebp, dword [esp + 0x10]
push ebp
call fcn.007bd9b0
add esp, 0xc
add ebx, ebp
cmp dword [esp + 0x30], 0
jle 0x5b222f
test esi, esi
mov esi, dword [esp]
jle 0x5b22e5
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
lea eax, [eax + ecx*4]
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ecx, word [edi - 4]
movzx edx, word [ebx - 4]
mov ebp, 0
mov esi, 0
cmp cx, dx
sbb ebp, ebp
cmp cx, dx
adc esi, 0xffffffff
cmp cx, dx
lea ecx, [ebp + ebp*2]
lea edi, [edi + ecx*4]
lea ecx, [esi + esi*2]
lea ebx, [ebx + ecx*4]
mov ecx, ebx
cmovb ecx, edi
cmp edi, dword [esp + 4]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
movsd xmm0, qword [ecx]
movsd qword [eax], xmm0
jbe 0x5b222f
add eax, 0xfffffff4
cmp ebx, dword [esp + 8]
ja 0x5b21e0
mov eax, dword [esp + 8]
mov esi, dword [esp]
jmp 0x5b22e9
lea eax, [edx*4]
lea ebx, [eax + eax*2]
push ebx
push ecx
mov ebp, dword [esp + 0x10]
push ebp
call fcn.007bd9b0
mov eax, dword [esp + 0x3c]
add esp, 0xc
add ebx, ebp
test eax, eax
jle 0x5b2040
cmp esi, eax
jle 0x5b2040
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
lea eax, [eax + ecx*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 8]
nop word cs:[eax + eax]
movzx esi, word [eax + 8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [esp + 4]
cmp si, word [edi + 8]
mov esi, eax
cmovb esi, edi
setae cl
mov ebp, dword [esi + 8]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
setb cl
mov dword [ebx + 8], ebp
movsd xmm0, qword [esi]
movsd qword [ebx], xmm0
add ebx, 0xc
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x20]
cmp eax, ebx
jae 0x5b2044
mov dl, cl
lea ecx, [edx + edx*2]
lea edi, [edi + ecx*4]
cmp edi, dword [esp + 0x1c]
jb 0x5b2290
jmp 0x5b2044
mov eax, dword [esp + 8]
mov ecx, edi
jmp 0x5b204b
mov esi, dword [esp]
mov edi, dword [esp + 0x28]
cmp ecx, eax
jae 0x5b2118
jmp 0x5b211b
mov eax, 2
cmp edx, 2
je 0x5b1e6a
mov dword [esp], esi
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 4]
mov dword [esp + 0x10], ebp
lea ebx, [eax + esi]
mov eax, dword [esp + 0x34]
lea esi, [eax + ecx*4]
mov eax, 2
nop dword [eax]
mov ebp, edi
movzx edi, word [esi]
cmp bp, di
jb 0x5b2359
lea ebp, [ebx + eax + 1]
inc eax
add esi, 0xc
cmp ebp, 1
jne 0x5b2340
mov eax, edx
mov ebx, dword [esp + 0x18]
mov esi, dword [esp]
mov ebp, dword [esp + 0x10]
jmp 0x5b1e6a
mov ebp, 2
jmp 0x5b1e45
mov esi, dword [esp]
mov ebp, 3
jmp 0x5b1e45
mov edi, dword [esp + 0x14]
jmp 0x5b1e45
push esi
push 0
push dword [0x94bf18]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
call esi
push dword [esp + 8]
push 0
push dword [0x94bf18]
call esi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
lea eax, [edi + edi*2]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
lea eax, [ebx + eax*4]
mov dword [ecx + 0xc], eax
add esp, 0x128
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x70]
mov edx, 0x936018
jmp 0x5b23e0
lea ecx, [esp + 0x70]
mov edx, 0x936028
mov dword [esp + 0x70], 0x935dd0
mov dword [esp + 0x74], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0x93d1f8
mov dword [esp + 0x7c], 0
call fcn.007c1b50
mov edx, ebp
push 0x936038
call fcn.007c1e60
mov ecx, ebp
push 0x936038
call fcn.007c1c40
mov ecx, str.assertion_failed:_end___start__end___len
mov edx, 0x2c
push 0x9360a4
call fcn.007c1ca0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
push 0x9360b4
call fcn.007c1e60
mov ecx, 0x936068
call fcn.007c1fe0
mov ecx, dword [esp + 4]
push 0x936008
call fcn.007c1e60
mov edx, ecx
mov ecx, dword [esp + 0xc]
push 0x936008
call fcn.007c1c40
mov ecx, 4
mov edx, 0x30
call fcn.007c1490
mov ecx, 0x936048
call fcn.007c1fe0
mov ecx, 0x936058
call fcn.007c1fe0
int3