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

Disassembly:
push 0xffffffffffffffff
push 0x524f18
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x557b14]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x557b14]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x80]
mov ebp, ecx
cmp ebp, edx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
lea esi, [eax + 0x20]
jne 0x515100
mov eax, ebp
jmp 0x5155c4
mov eax, dword [eax + 8]
test eax, eax
mov ebx, dword [ecx]
mov dl, byte [esp + 0x88]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], eax
jbe 0x5151c3
mov al, byte [esi]
test al, al
mov edi, ebp
jne 0x515151
test dl, dl
mov al, byte [ebp]
je 0x51513f
mov ecx, dword [ebx]
movzx eax, al
mov al, byte [eax + ecx + 0x104]
test al, al
je 0x515232
add esi, 1
cmp byte [esi], 0
je 0x515147
jmp 0x5151ae
cmp edi, dword [esp + 0x2c]
je 0x51519e
test dl, dl
mov cl, byte [edi]
je 0x51516d
mov ebp, dword [ebx]
movzx ecx, cl
mov cl, byte [ecx + ebp + 0x104]
mov ebp, dword [esp + 0x1c]
cmp cl, al
jne 0x51519e
mov al, byte [esi + 1]
add esi, 1
add edi, 1
test al, al
jne 0x515151
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x1c], 0
jne 0x5150f9
cmp edi, ebp
lea eax, [ebp + 1]
je 0x5155c4
mov eax, edi
jmp 0x5155c4
cmp byte [esi], 0
je 0x51517e
add esi, 1
cmp byte [esi], 0
jne 0x5151a3
add esi, 1
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
jb 0x515124
test dl, dl
mov al, byte [ebp]
je 0x5151d6
mov ecx, dword [ebx]
movzx edx, al
mov al, byte [edx + ecx + 0x104]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x17], al
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x5151ee
cmp dword [ecx + 0x10], eax
je 0x5154e0
xor edi, edi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], edi
mov byte [esp + 0x54], 0
cmp eax, edi
mov dword [esp + 0x78], edi
je 0x5153c3
mov ecx, dword [esp + 0x28]
test dword [ecx + 8], 0x200000
jne 0x51524a
mov dl, byte [esp + 0x17]
mov ebp, 1
mov byte [esp + 0x54], dl
mov dword [esp + 0x64], ebp
mov byte [esp + 0x55], 0
jmp 0x51529f
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x1c], 0
mov eax, ebp
jne 0x5155c4
lea eax, [ebp + 1]
jmp 0x5155c4
mov al, byte [esp + 0x17]
lea ecx, [esp + 0x19]
push ecx
lea edx, [esp + 0x1c]
mov byte [esp + 0x1c], al
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
mov byte [esp + 0x25], 0
call fcn.0050f8d0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 1
call fcn.00401201
cmp dword [esp + 0x4c], 0x10
mov byte [esp + 0x78], 0
jb 0x51529b
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004e001f
add esp, 4
mov ebp, dword [esp + 0x64]
mov edx, dword [esp + 0x20]
cmp dword [edx + 0xc], 0
mov dword [esp + 0x18], 0
jbe 0x5153c3
mov ebx, dword [esp + 0x54]
lea esp, [esp]
cmp byte [esi], 0
jne 0x5152e0
test ebp, ebp
je 0x515323
cmp ebp, 1
jne 0x5152e0
cmp dword [esp + 0x68], 0x10
mov eax, ebx
jae 0x5152db
lea eax, [esp + 0x54]
cmp byte [eax], 0
je 0x515323
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5152e5
sub eax, edx
mov edi, eax
cmp ebp, edi
mov ecx, ebp
jb 0x5152fa
mov ecx, edi
cmp dword [esp + 0x68], 0x10
mov eax, ebx
jae 0x515307
lea eax, [esp + 0x54]
push ecx
push esi
push eax
call fcn.004067a4
add esp, 0xc
test eax, eax
jne 0x515321
cmp ebp, edi
jb 0x515390
cmp ebp, edi
setne al
test eax, eax
jl 0x515390
add esi, 1
cmp byte [esi], 0
jne 0x515323
add esi, 1
cmp byte [esi], 0
jne 0x515356
test ebp, ebp
je 0x51552c
cmp ebp, 1
jne 0x515356
cmp dword [esp + 0x68], 0x10
mov eax, ebx
jae 0x51534d
lea eax, [esp + 0x54]
cmp byte [eax], 0
je 0x51552c
mov eax, esi
lea edx, [eax + 1]
jmp 0x515360
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x515360
sub eax, edx
push eax
push esi
push ebp
push 0
lea ecx, [esp + 0x60]
call fcn.00406ac6
test eax, eax
mov ebx, dword [esp + 0x54]
jle 0x51552c
mov ebp, dword [esp + 0x64]
jmp 0x5153a0
add esi, 1
cmp byte [esi], 0
jne 0x515390
add esi, 1
jmp 0x5153a0
add esi, 1
cmp byte [esi], 0
jne 0x5153a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add eax, 1
add esi, 1
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x18], eax
jb 0x5152c0
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x10], 0
je 0x5154cc
mov cl, byte [esp + 0x17]
lea edx, [esp + 0x19]
push edx
mov byte [esp + 0x1c], cl
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x25], 0
call fcn.005146a0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 2
call fcn.00401201
cmp dword [esp + 0x4c], 0x10
jb 0x515420
mov edx, dword [esp + 0x38]
push edx
call fcn.004e001f
add esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x10]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x28], eax
jbe 0x5154cc
mov ebp, dword [esp + 0x64]
lea esp, [esp]
cmp byte [esi], 0
jne 0x51546a
test ebp, ebp
je 0x515551
cmp ebp, 1
jne 0x51546a
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x515461
lea eax, [esp + 0x54]
cmp byte [eax], 0
je 0x515551
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x515470
sub eax, edx
mov edi, eax
cmp ebp, edi
mov ecx, ebp
jb 0x515485
mov ecx, edi
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x515494
lea eax, [esp + 0x54]
push ecx
push esi
push eax
call fcn.004067a4
add esp, 0xc
test eax, eax
jne 0x5154b4
cmp ebp, edi
jb 0x5154b4
cmp ebp, edi
setne al
test eax, eax
je 0x515551
add esi, 1
cmp byte [esi], 0
jne 0x5154b4
add ebx, 1
add esi, 1
cmp ebx, dword [esp + 0x28]
jb 0x515440
cmp dword [esp + 0x68], 0x10
jb 0x5154e0
mov eax, dword [esp + 0x54]
push eax
call fcn.004e001f
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
test eax, 0x3ff
mov dl, byte [esp + 0x17]
je 0x51550d
mov edi, dword [esp + 0x24]
mov edi, dword [edi]
movzx esi, dl
movzx esi, word [edi + esi*2 + 0x204]
and esi, eax
test esi, 0x3ff
jne 0x515519
test eax, 0x400
je 0x51557a
cmp dl, 0x5f
jne 0x51557a
cmp byte [ecx + 0x1c], 0
mov eax, dword [esp + 0x1c]
jne 0x5155c4
jmp 0x5155c1
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x1c], 0
mov esi, dword [esp + 0x1c]
jne 0x51553d
add esi, 1
cmp dword [esp + 0x68], 0x10
jb 0x51554d
push ebx
call fcn.004e001f
add esp, 4
mov eax, esi
jmp 0x5155c4
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x1c], 0
mov esi, dword [esp + 0x1c]
jne 0x515562
add esi, 1
cmp dword [esp + 0x68], 0x10
jb 0x51554d
mov edx, dword [esp + 0x54]
push edx
call fcn.004e001f
add esp, 4
mov eax, esi
jmp 0x5155c4
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x5155b7
test eax, 0x3ff
je 0x5155a3
mov edi, dword [esp + 0x24]
mov edi, dword [edi]
movzx esi, dl
movzx esi, word [edi + esi*2 + 0x204]
and esi, eax
test esi, 0x3ff
jne 0x5155b7
test eax, 0x400
je 0x515519
cmp dl, 0x5f
jne 0x515519
cmp byte [ecx + 0x1c], 0
mov eax, dword [esp + 0x1c]
je 0x5155c4
add eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004e0010
add esp, 0x68
ret 0xc