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

Disassembly:
sub esp, 0x10
push ebx
mov dword [esp + 4], ecx
push ebp
add ecx, 0x9c
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0xc
xor ebp, ebp
mov eax, 0x2c
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + eax]
mov ebx, dword [edx + 0x38]
mov eax, dword [edx + 0x30]
mov edi, dword [edx + 0x34]
cmp eax, ebp
mov dword [edx + 0x70], ebp
lea esi, [ebx - 1]
lea eax, [edi - 1]
je 0x521df9
mov eax, edi
cmp eax, ebp
jl 0x521e12
cmp esi, ebp
jl 0x521e12
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + esi*4 + 0x9c]
mov eax, dword [ecx + eax*4 + 0x2c]
jmp 0x521e14
xor eax, eax
mov ecx, dword [edx + 0x3c]
cmp ecx, ebp
je 0x521e3b
cmp eax, ebp
je 0x521e3b
mov eax, dword [eax + 0x3c]
cmp eax, ebp
je 0x521e3b
mov eax, dword [eax + 0x84]
cmp eax, dword [ecx + 0x84]
jne 0x521e3b
mov dword [edx + 0x70], 1
mov eax, dword [edx + 0x30]
mov dword [edx + 0x74], ebp
cmp eax, ebp
mov eax, edi
je 0x521e4a
lea eax, [edi + 1]
cmp eax, 7
jg 0x521e64
cmp esi, ebp
jl 0x521e64
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + esi*4 + 0x9c]
mov eax, dword [esi + eax*4 + 0x2c]
jmp 0x521e6a
mov ecx, dword [esp + 0x10]
xor eax, eax
mov esi, dword [edx + 0x3c]
cmp esi, ebp
je 0x521e91
cmp eax, ebp
je 0x521e91
mov eax, dword [eax + 0x3c]
cmp eax, ebp
je 0x521e91
mov eax, dword [eax + 0x84]
cmp eax, dword [esi + 0x84]
jne 0x521e91
mov dword [edx + 0x74], 1
cmp edi, ebp
mov dword [edx + 0x78], ebp
jle 0x521ea5
mov eax, dword [ecx + ebx*4 + 0x9c]
mov eax, dword [eax + edi*4 + 0x28]
jmp 0x521ea7
xor eax, eax
cmp esi, ebp
je 0x521ecb
cmp eax, ebp
je 0x521ecb
mov eax, dword [eax + 0x3c]
cmp eax, ebp
je 0x521ecb
mov eax, dword [eax + 0x84]
cmp eax, dword [esi + 0x84]
jne 0x521ecb
mov dword [edx + 0x78], 1
cmp edi, 7
mov dword [edx + 0x7c], ebp
jge 0x521ee0
mov eax, dword [ecx + ebx*4 + 0x9c]
mov eax, dword [eax + edi*4 + 0x30]
jmp 0x521ee2
xor eax, eax
cmp esi, ebp
je 0x521f06
cmp eax, ebp
je 0x521f06
mov eax, dword [eax + 0x3c]
cmp eax, ebp
je 0x521f06
mov eax, dword [eax + 0x84]
cmp eax, dword [esi + 0x84]
jne 0x521f06
mov dword [edx + 0x7c], 1
lea esi, [ebx + 1]
mov ebx, dword [edx + 0x30]
cmp ebx, ebp
mov dword [edx + 0x80], ebp
lea eax, [edi - 1]
je 0x521f1b
mov eax, edi
cmp eax, ebp
jl 0x521f31
cmp esi, 0xb
jg 0x521f31
mov ecx, dword [ecx + esi*4 + 0x9c]
mov eax, dword [ecx + eax*4 + 0x2c]
jmp 0x521f33
xor eax, eax
mov ecx, dword [edx + 0x3c]
cmp ecx, ebp
je 0x521f5d
cmp eax, ebp
je 0x521f5d
mov eax, dword [eax + 0x3c]
cmp eax, ebp
je 0x521f5d
mov eax, dword [eax + 0x84]
cmp eax, dword [ecx + 0x84]
jne 0x521f5d
mov dword [edx + 0x80], 1
cmp ebx, ebp
mov dword [edx + 0x84], ebp
mov eax, edi
je 0x521f6c
lea eax, [edi + 1]
cmp eax, 7
jg 0x521f87
cmp esi, 0xb
jg 0x521f87
mov edi, dword [esp + 0x10]
mov esi, dword [edi + esi*4 + 0x9c]
mov eax, dword [esi + eax*4 + 0x2c]
jmp 0x521f89
xor eax, eax
cmp ecx, ebp
je 0x521fb2
cmp eax, ebp
je 0x521fb2
mov eax, dword [eax + 0x3c]
cmp eax, ebp
je 0x521fb2
mov eax, dword [eax + 0x84]
mov esi, dword [ecx + 0x84]
cmp eax, esi
jne 0x521fb2
mov dword [edx + 0x84], 1
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 0x4c
mov dword [esp + 0x18], eax
jl 0x521dd8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add ecx, 4
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jne 0x521dcf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret