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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18c
mov ebx, ecx
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x78]
test edi, edi
cmove edi, ecx
mov eax, dword [edi + 0x80]
test eax, eax
je 0x10056d5f
cmp dword [eax], edx
jne 0x10056d5a
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0xc], ecx
je 0x100574a6
mov eax, dword [eax + 4]
jmp 0x10056d46
mov esi, dword [ebx]
test esi, esi
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x184], edi
je 0x10057764
cmp word [esi + 0x12c], 0x17
jbe 0x10057523
mov edx, dword [esi + 0x150]
test edx, edx
je 0x100574bd
mov eax, dword [edx]
mov dword [esi + 0x150], eax
inc dword [esi + 0x138]
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x10], eax
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov eax, dword [edi + 0x80]
mov dword [edx + 4], eax
mov dword [edi + 0x80], edx
cmp word [esi + 0x12c], 0x1b
jbe 0x10057560
mov eax, dword [esi + 0x150]
test eax, eax
je 0x100574ef
mov ecx, dword [eax]
mov dword [esi + 0x150], ecx
inc dword [esi + 0x138]
xorps xmm0, xmm0
movups xmmword [eax + 0xc], xmm0
movups xmmword [eax], xmm0
mov dword [edx + 8], eax
mov ebx, dword [edi + 8]
mov ecx, dword [ebx + 0xe0]
mov dword [eax + 0x18], ecx
mov dword [ebp - 0x190], eax
mov dword [ebx + 0xe0], eax
mov edi, dword [ebp - 0x188]
mov dword [edx], edi
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
xor eax, eax
dec eax
mov dword [edx + 0x10], eax
mov dword [ebp - 0x178], edx
mov dword [edx + 0x14], eax
lea ebx, [ebp - 0x124]
push 0x9c
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [ebx + 0xc8], xmm0
movups xmmword [ebx + 0xd8], xmm0
movups xmmword [ebx + 0xe8], xmm0
movups xmmword [ebx + 0xf8], xmm0
movups xmmword [ebx + 0x104], xmm0
mov eax, dword [esi + 0x104]
mov dword [ebx + 0xbc], eax
lea eax, [ebp - 0x128]
mov dword [esi + 0x104], eax
mov dword [eax], esi
xor ebx, ebx
cmp byte [esi + 0x57], 0
jne 0x100577b8
movups xmmword [ebp - 0x154], xmm0
movups xmmword [ebp - 0x160], xmm0
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xb0], eax
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
mov cl, byte [edi + 8]
mov byte [ebp - 0x8c], cl
mov edx, dword [ebp - 0x174]
mov ecx, dword [edx + 0x8c]
mov dword [ebp - 0x9c], ecx
mov cl, byte [edx + 0x19]
mov byte [ebp - 0x10f], cl
mov dword [ebp - 0x16c], ebx
test ebx, ebx
jne 0x10056f07
lea ecx, [ebp - 0x128]
call fcn.1002f500
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x100577da
mov eax, dword [edi]
test eax, eax
je 0x10056f4f
push eax
push str.___TRIGGER__s
push esi
call fcn.10020cd0
add esp, 0xc
mov edx, dword [ebp - 0x16c]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
jne 0x10057804
mov ecx, dword [edx + 0x68]
mov edx, dword [edx + 0x6c]
dec edx
lea edx, [edx + edx*4]
cmp byte [ecx + edx*4 + 1], 0
jne 0x1005759f
test eax, eax
je 0x10056f4f
lea ecx, [ecx + edx*4]
inc ecx
mov dword [ecx + 0xf], eax
mov byte [ecx], 0xfa
mov edx, dword [edi + 0xc]
test edx, edx
je 0x100574ae
xor eax, eax
mov ecx, esi
push eax
mov dword [ebp - 0x18c], 0
push eax
call fcn.10001810
add esp, 8
mov edi, eax
cmp byte [esi + 0x57], 0
jne 0x10056fb1
lea ecx, [ebp - 0x164]
mov edx, edi
call fcn.10030db0
test eax, eax
jne 0x10056fb1
mov eax, dword [ebp - 0xf0]
dec eax
mov dword [ebp - 0xf0], eax
push 0x10
mov dword [ebp - 0x18c], eax
push eax
push edi
lea eax, [ebp - 0x128]
push eax
call fcn.10040dd0
add esp, 0x10
test edi, edi
je 0x10056fbe
mov ecx, esi
mov edx, edi
call fcn.1014c9e0
mov edi, dword [ebp - 0x188]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x1005736e
lea eax, [ebp - 0x128]
mov ecx, dword [eax]
mov dword [ebp - 0x170], ecx
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0xc]
movzx eax, al
mov dword [ebp - 0x198], eax
xor ebx, ebx
mov dword [ebp - 0x17c], ecx
mov eax, dword [ebp - 0x198]
cmp dword [ebp + 0xc], 0xb
jne 0x10057004
movzx eax, byte [esi + 1]
mov byte [ebp - 0x8a], al
mov eax, dword [esi + 0x24]
test eax, eax
je 0x100570a0
mov dword [ebp - 0x168], esi
push eax
push str.____s
push dword [ebp - 0x170]
call fcn.10020cd0
add esp, 0xc
mov edi, eax
mov ebx, dword [ebp - 0x17c]
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x100575c3
lea edx, [eax + 1]
mov dword [ebx + 0x6c], edx
mov esi, dword [ebx + 0x68]
lea edx, [eax + eax*4]
mov dword [esi + edx*4], 0xb5
movaps xmm0, xmmword [0x101af430]
movups xmmword [esi + edx*4 + 4], xmm0
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
jne 0x10057745
test eax, eax
mov esi, dword [ebp - 0x168]
js 0x10057251
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
jne 0x10057236
test edi, edi
mov ebx, 0
je 0x100570a0
lea eax, [ecx + eax*4]
inc eax
mov dword [eax + 0xf], edi
mov byte [eax], 0xfa
movzx eax, byte [esi]
cmp eax, 0x81
je 0x10057129
cmp eax, 0x7f
je 0x100571cb
cmp eax, 0x80
je 0x100576a5
mov edx, dword [esi + 8]
xor eax, eax
mov ebx, dword [ebp - 0x170]
mov ecx, ebx
push eax
call fcn.100688b0
add esp, 4
mov edi, eax
mov byte [ebp - 0x144], 4
lea eax, [ebp - 0x140]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
xor ecx, ecx
mov dword [eax + 0x10], ecx
lea ecx, [ebp - 0x128]
mov edx, edi
lea eax, [ebp - 0x144]
push eax
call fcn.10027cd0
add esp, 4
test edi, edi
je 0x10057117
mov ecx, ebx
mov edx, edi
push 1
call fcn.100170d0
add esp, 4
xor ebx, ebx
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10056ff4
jmp 0x1005736e
movzx eax, byte [ebp - 0x8a]
mov dword [ebp - 0x168], eax
mov edx, dword [esi + 0x14]
test edx, edx
je 0x1005784f
mov edi, dword [ebp - 0x170]
mov ecx, edi
push ebx
push ebx
call fcn.10001810
add esp, 8
mov dword [ebp - 0x180], eax
mov edx, dword [esi + 0x18]
mov ecx, edi
push ebx
call fcn.100015a0
add esp, 4
mov edi, eax
lea ebx, [ebp - 0x128]
mov ecx, ebx
mov edx, esi
call fcn.100578b0
mov ecx, ebx
xor ebx, ebx
mov edx, eax
push ebx
push dword [ebp - 0x168]
push dword [ebp - 0x180]
push edi
call fcn.10053b80
add esp, 0x10
mov ecx, dword [ebp - 0x17c]
mov eax, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], eax
jle 0x10057660
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
mov edx, dword [ecx + 0x68]
lea eax, [eax + eax*4]
mov byte [edx + eax*4], 0x83
xorps xmm0, xmm0
movups xmmword [edx + eax*4 + 1], xmm0
mov dword [edx + eax*4 + 0x10], 0
jmp 0x10057119
mov edx, dword [esi + 0x20]
mov ebx, dword [ebp - 0x170]
mov ecx, ebx
call fcn.100579c0
movzx edi, byte [ebp - 0x8a]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x194], edi
je 0x1005763e
mov dword [ebp - 0x168], ecx
mov ecx, dword [ecx]
lea edx, [ecx*8 + 8]
movzx ecx, word [ebx + 0x12c]
cmp edx, ecx
ja 0x10057627
cmp edx, 0x80
ja 0x1005733c
mov edi, dword [ebx + 0x150]
test edi, edi
jne 0x100575e0
jmp 0x10057645
lea edx, [ecx + eax*4]
mov ecx, dword [ebp - 0x17c]
push 0xfffffffffffffffa
push edi
call fcn.10035ca0
add esp, 8
xor ebx, ebx
jmp 0x100570a0
mov eax, dword [ebx + 0x6c]
dec eax
jmp 0x1005707c
mov ecx, ebx
push 0
call fcn.10137840
add esp, 4
mov edi, eax
test eax, eax
mov ecx, dword [ebp - 0x168]
mov eax, 0
je 0x100572c0
mov eax, dword [ecx]
mov dword [edi], eax
mov al, byte [ecx + 4]
mov byte [edi + 4], al
cmp dword [ecx], 0
jle 0x100575ed
xor ebx, ebx
mov eax, dword [ebp - 0x168]
mov edx, dword [eax + ebx*8 + 8]
mov ecx, dword [ebp - 0x170]
call fcn.10038240
mov ecx, dword [ebp - 0x168]
mov dword [edi + ebx*8 + 8], eax
mov eax, dword [ecx + ebx*8 + 0xc]
mov dword [edi + ebx*8 + 0xc], eax
inc ebx
cmp ebx, dword [ecx]
jl 0x1005728c
mov eax, edi
mov ebx, dword [ebp - 0x170]
mov dword [ebp - 0x168], eax
mov edx, dword [esi + 8]
mov ecx, ebx
push 0
call fcn.100688b0
add esp, 4
mov edi, eax
lea ebx, [ebp - 0x128]
mov ecx, ebx
mov edx, esi
call fcn.100578b0
mov ecx, ebx
mov edx, eax
push dword [ebp - 0x180]
push dword [ebp - 0x194]
push dword [ebp - 0x168]
push edi
call fcn.1004c850
add esp, 0x10
mov ecx, dword [ebp - 0x17c]
mov eax, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], eax
jle 0x1005768f
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
mov edx, dword [ecx + 0x68]
lea eax, [eax + eax*4]
mov byte [edx + eax*4], 0x83
xorps xmm0, xmm0
movups xmmword [edx + eax*4 + 1], xmm0
mov dword [edx + eax*4 + 0x10], 0
jmp 0x10057117
mov edi, dword [ebx + 0x148]
test edi, edi
jne 0x10057698
mov edi, dword [ebx + 0x144]
test edi, edi
je 0x100575b8
jmp 0x1005772d
inc dword [ebx + 0x138]
mov ecx, dword [ebp - 0x168]
jmp 0x10057277
mov edi, dword [ebp - 0x174]
mov ebx, dword [ebp - 0x18c]
test ebx, ebx
mov esi, dword [ebp - 0x16c]
je 0x1005739e
mov ecx, dword [esi + 0xc]
not ebx
mov eax, dword [ecx + 0x38]
add eax, dword [ecx + 0x3c]
js 0x1005783f
mov eax, dword [esi + 0x6c]
mov ecx, dword [ecx + 0x40]
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jle 0x100575f4
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4], 0x46
xorps xmm0, xmm0
movups xmmword [ecx + eax*4 + 1], xmm0
mov dword [ecx + eax*4 + 0x10], 0
cmp dword [edi + 0x24], 0
mov edx, dword [ebp - 0x124]
jne 0x10057818
mov dword [edi + 4], edx
mov eax, dword [ebp - 0x104]
mov dword [edi + 0x24], eax
mov ecx, dword [ebp - 0x11c]
mov dword [edi + 0xc], ecx
test eax, eax
mov ebx, dword [ebp - 0x190]
jne 0x10057437
mov edx, dword [ebp - 0x184]
add edx, 0x64
mov eax, dword [ebp - 0x16c]
mov esi, dword [eax + 0x68]
mov ecx, dword [ebp - 0x16c]
call fcn.1014cb80
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax + 0x6c]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x16c]
mov dword [eax + 0x68], 0
mov dword [ebx], esi
mov esi, dword [ebp - 0x16c]
mov eax, dword [ebp - 0xfc]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x100]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x188]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x178]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x94]
mov dword [ecx + 0x14], eax
mov ecx, esi
call fcn.1012b1d0
lea ecx, [ebp - 0x128]
call fcn.100068b0
mov ebx, dword [ebp - 0x174]
mov eax, dword [ebx]
mov dword [eax + 0x44], 0xffffffff
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, dword [ebp - 0x178]
add esp, 0x18c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x178], eax
jmp 0x1005748b
mov dword [ebp - 0x18c], 0
jmp 0x10056fc4
mov edx, dword [esi + 0x14c]
test edx, edx
jne 0x1005760d
mov edx, dword [esi + 0x148]
test edx, edx
jne 0x10057675
mov edx, dword [esi + 0x144]
test edx, edx
jne 0x10057713
inc dword [esi + 0x140]
jmp 0x10057536
mov eax, dword [esi + 0x14c]
test eax, eax
jne 0x1005761a
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x10057682
mov eax, dword [esi + 0x144]
test eax, eax
jne 0x10057720
mov edi, edx
inc dword [esi + 0x140]
jmp 0x10057579
cmp dword [esi + 0x128], 0
je 0x100576fb
cmp byte [esi + 0x57], 0
jne 0x10057551
mov ecx, esi
mov edx, 0x18
push 0
call fcn.10137840
add esp, 4
mov edx, eax
test eax, eax
jne 0x10056da5
mov dword [ebp - 0x178], 0
jmp 0x10057482
cmp dword [esi + 0x128], 0
je 0x10057706
mov edi, edx
cmp byte [esi + 0x57], 0
jne 0x10057884
mov ecx, esi
mov edx, 0x1c
push 0
call fcn.10137840
add esp, 4
test eax, eax
mov edx, edi
mov edi, dword [ebp - 0x184]
jne 0x10056dec
jmp 0x10057886
lea edx, [ecx + edx*4]
mov ecx, dword [ebp - 0x16c]
push 0xfffffffffffffffa
push eax
call fcn.10035ca0
add esp, 8
jmp 0x10056f4f
inc dword [ebx + 0x140]
jmp 0x1005725a
mov ecx, ebx
mov edx, 0xb5
push 0
push 1
push closesocket
call fcn.10016c40
add esp, 0xc
jmp 0x10057062
mov eax, dword [edi]
mov dword [ebx + 0x150], eax
jmp 0x1005735d
mov eax, edi
jmp 0x100572c0
xor eax, eax
mov ecx, esi
mov edx, 0x46
push eax
push eax
push eax
call fcn.10016c40
add esp, 0xc
jmp 0x100573ca
mov eax, dword [edx]
mov dword [esi + 0x14c], eax
jmp 0x10056d9f
mov ecx, dword [eax]
mov dword [esi + 0x14c], ecx
jmp 0x10056de6
cmp dword [ebx + 0x128], 0
je 0x1005773a
cmp byte [ebx + 0x57], 0
je 0x1005725a
xor eax, eax
jmp 0x100572c0
mov edi, dword [ebx + 0x14c]
test edi, edi
je 0x1005733c
mov eax, dword [edi]
mov dword [ebx + 0x14c], eax
jmp 0x1005735d
mov edx, 0x83
push ebx
push ebx
push ebx
call fcn.10016c40
add esp, 0xc
jmp 0x10057119
mov eax, dword [edx]
mov dword [esi + 0x148], eax
jmp 0x10056d9f
mov ecx, dword [eax]
mov dword [esi + 0x148], ecx
jmp 0x10056de6
mov edx, 0x83
xor ebx, ebx
jmp 0x10057665
mov eax, dword [edi]
mov dword [ebx + 0x148], eax
jmp 0x1005735d
mov edx, dword [esi + 0x14]
test edx, edx
je 0x1005789c
mov ecx, dword [ebp - 0x170]
push ebx
push ebx
call fcn.10001810
add esp, 8
mov edi, eax
lea ebx, [ebp - 0x128]
mov ecx, ebx
mov edx, esi
call fcn.100578b0
mov ecx, ebx
mov edx, eax
push edi
call fcn.10059fc0
add esp, 4
mov ecx, dword [ebp - 0x17c]
mov edx, 0x83
xor eax, eax
push eax
push eax
push eax
call fcn.1002fb80
add esp, 0xc
jmp 0x10057117
inc dword [esi + 0x13c]
jmp 0x10057536
mov edi, edx
inc dword [esi + 0x13c]
jmp 0x10057579
mov eax, dword [edx]
mov dword [esi + 0x144], eax
jmp 0x10056d9f
mov ecx, dword [eax]
mov dword [esi + 0x144], ecx
jmp 0x10056de6
mov eax, dword [edi]
mov dword [ebx + 0x144], eax
jmp 0x1005735d
inc dword [ebx + 0x13c]
jmp 0x1005725a
test edi, edi
mov esi, dword [ebp - 0x168]
mov ebx, 0
je 0x100570a0
mov edx, edi
call fcn.1014c8d0
jmp 0x100570a0
mov dword [ebp - 0x178], 0
mov ecx, 0x18
xor edx, edx
call fcn.10143580
test eax, eax
je 0x10057482
mov edi, eax
xor eax, eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov ecx, dword [ebp - 0x184]
mov eax, dword [ecx + 0x80]
mov dword [edi + 4], eax
mov dword [ecx + 0x80], edi
mov ecx, 0x1c
xor edx, edx
call fcn.10143580
jmp 0x1005758a
push str.out_of_memory
push eax
call fcn.100463a0
xorps xmm0, xmm0
lea eax, [ebp - 0x128]
add esp, 8
mov ebx, dword [ebp - 0x120]
jmp 0x10056e90
mov eax, dword [ebp - 0x174]
cmp dword [eax + 0x24], 0
mov edx, dword [ebp - 0x124]
je 0x10057864
test edx, edx
je 0x10057471
mov ecx, dword [ebp - 0x128]
call fcn.1014d210
jmp 0x10057471
test eax, eax
je 0x10056f4f
mov edx, eax
call fcn.1014c8d0
jmp 0x10056f4f
test edx, edx
mov ebx, dword [ebp - 0x190]
je 0x10057437
mov ecx, dword [ebp - 0x128]
call fcn.1014d210
mov eax, dword [ebp - 0x174]
mov eax, dword [eax + 0x24]
jmp 0x100573ef
mov edx, esi
push ebx
call fcn.10032440
add esp, 4
jmp 0x1005739e
mov dword [ebp - 0x180], 0
mov edi, dword [ebp - 0x170]
jmp 0x10057159
mov ecx, dword [ebp - 0x174]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x104]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x11c]
mov dword [ecx + 0xc], eax
jmp 0x10057471
mov edx, edi
mov dword [edx + 8], 0
mov dword [ebp - 0x178], 0
jmp 0x1005747c
xor edi, edi
jmp 0x100576c2