Function at 0x7580d0
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ecx + 8]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
test esi, esi
mov dword [esp + 0x28], 0
je 0x75811f
mov edx, dword [edx]
lea ebx, [esi - 1]
imul ebx, dword [ecx + 0x24]
add ebx, dword [ecx + 0x20]
mov dword [esp + 0x14], edx
mov ecx, dword [edx + ebx*4]
test ecx, ecx
je 0x758336
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x1c]
lea eax, [ecx + eax*2]
mov dword [esp + 0x28], eax
cmp esi, dword [esp + 0x64]
jge 0x75832e
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], esi
mov eax, dword [ecx + 0x24]
lea ebx, [eax*4]
imul eax, esi
add eax, dword [ecx + 0x20]
mov dword [esp + 0x30], ebx
shl eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
mov edx, eax
mov ebx, dword [edx + ecx]
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x758289
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [ebx + eax*2]
test edx, edx
mov dword [esp + 0x38], eax
jle 0x758253
lea ecx, [eax - 2]
xor ebx, ebx
mov dword [esp + 0x10], ecx
lea eax, [ebx + ebx]
lea edx, [ebx + 1]
mov ebx, dword [esp + 0x10]
lea ecx, [eax + ebx]
mov ebx, dword [esp + 0x28]
lea edi, [eax + ebx]
nop
mov eax, edx
sub eax, 1
je 0x758220
mov ebp, dword [esp + 0x5c]
test ebp, ebp
je 0x7582b6
mov esi, dword [esp + 0x24]
mov ebx, edx
test esi, esi
je 0x758314
cmp dword [esp + 0x20], edx
jle 0x758314
mov ecx, dword [esp + 0x28]
add eax, eax
mov edx, dword [esp + 0x38]
movsx esi, word [ecx + eax]
movsx edi, word [ecx + eax + 2]
lea ebp, [eax + edx]
mov ecx, dword [esp + 0x10]
movzx edx, word [ebp]
movsx eax, word [ecx + eax]
cmp esi, eax
jge 0x758204
cmp edi, esi
jle 0x7581fb
cmp eax, edi
mov esi, eax
jg 0x75820e
lea eax, [edx + esi]
mov word [ebp], ax
jmp 0x75818a
cmp edi, esi
jge 0x7581fb
cmp eax, edi
mov esi, eax
jge 0x7581fb
mov esi, edi
lea eax, [edx + esi]
mov word [ebp], ax
jmp 0x75818a
mov eax, dword [esp + 0x24]
mov ebx, edx
test eax, eax
je 0x758240
mov ebx, dword [esp + 0x28]
movzx eax, word [ebx]
mov ebx, dword [esp + 0x38]
add word [ebx], ax
mov ebx, edx
lea esi, [esi]
add edx, 1
add ecx, 2
add edi, 2
cmp dword [esp + 0x20], ebx
jg 0x7581a0
add dword [esp + 0x24], 1
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
add dword [esp + 0x2c], eax
cmp dword [esp + 0x24], edx
je 0x75832e
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
mov ebx, dword [edx + ecx]
test ebx, ebx
jne 0x758167
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + 8]
test esi, esi
js 0x758361
mov eax, dword [ebx + 4]
mov edx, ebx
mov ecx, dword [esp + 0x14]
mov ebx, dword [eax + esi*4]
lea eax, [esi - 1]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + eax], ebx
jmp 0x758167
mov eax, dword [esp + 0x24]
test eax, eax
je 0x758320
movzx ebx, word [ecx + 2]
movsx ebp, word [ecx]
movsx eax, word [edi - 2]
mov word [esp + 0x36], bx
movsx ebx, word [edi]
lea esi, [ebx + ebp]
sub esi, eax
cmp ebp, ebx
jle 0x7582f6
cmp ebx, esi
jge 0x7582e4
cmp esi, ebp
mov ebx, esi
jg 0x758300
movzx eax, word [esp + 0x36]
add eax, ebx
mov ebx, edx
mov word [ecx + 2], ax
jmp 0x758240
cmp ebx, esi
jle 0x7582e4
cmp esi, ebp
mov ebx, esi
jge 0x7582e4
movzx eax, word [esp + 0x36]
mov ebx, ebp
add eax, ebx
mov ebx, edx
mov word [ecx + 2], ax
jmp 0x758240
movzx eax, word [ecx]
add word [ecx + 2], ax
jmp 0x758240
movzx eax, word [ecx]
mov ebx, edx
add word [ecx + 2], ax
jmp 0x758240
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
test edx, edx
js 0x758361
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + edx*4]
lea eax, [edx - 1]
mov edx, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x14]
mov dword [eax + ebx*4], ecx
jmp 0x758111
mov dword [esp + 8], 0x208
mov dword [esp + 4], 0xb67a81
mov dword [esp], 0xb67ccb
call sub.msvcrt.dll__assert
lea esi, [esi]