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

Disassembly:
sub esp, 0x60
mov cl, byte [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov al, 0x10
push ebx
sub al, cl
lea ecx, [edx + edx*4]
mov byte [esp + 0x74], al
lea eax, [edx + edx*2]
add eax, eax
push ebp
mov dword [esp + 0x3c], eax
lea eax, [edx*8]
sub eax, edx
push esi
mov dword [esp + 0x44], eax
lea eax, [edx + edx*4]
add eax, eax
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x48], eax
lea eax, [edx + ecx*2]
mov dword [esp + 0x4c], eax
lea eax, [edx + edx*2]
shl eax, 2
lea ecx, [edx + edx*2]
mov dword [esp + 0x50], eax
push edi
mov edi, dword [esp + 0x80]
lea eax, [edx + ecx*4]
and edi, 0xff
mov dword [esp + 0x58], eax
lea eax, [edx*8]
sub eax, edx
mov dword [esp + 0x64], 0x11
add eax, eax
mov dword [esp + 0x5c], eax
lea eax, [edx + edx*2]
lea ecx, [eax + eax*4]
mov eax, edx
shl eax, 4
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x60], ecx
xor ecx, ecx
xor ebx, ebx
mov cl, byte [eax]
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov cl, byte [eax + edx]
mov esi, ecx
xor ecx, ecx
mov cl, byte [eax + edx*2]
mov dword [esp + 0x1c], ecx
lea ecx, [edx + edx*2]
mov bl, byte [ecx + eax]
xor ecx, ecx
mov cl, byte [eax + edx*4]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ecx
lea ecx, [edx + edx*4]
xor ebx, ebx
mov bl, byte [ecx + eax]
xor ecx, ecx
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x44]
mov cl, byte [ebx + eax]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov cl, byte [ebx + eax]
xor ebx, ebx
mov dword [esp + 0x7c], ecx
xor ecx, ecx
mov cl, byte [eax + edx*8]
mov dword [esp + 0x78], ecx
lea ecx, [edx + edx*8]
mov bl, byte [ecx + eax]
xor ecx, ecx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x4c]
mov cl, byte [ebx + eax]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov cl, byte [ebx + eax]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov cl, byte [ebx + eax]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov cl, byte [ebx + eax]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov cl, byte [ebx + eax]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov cl, byte [ebx + eax]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov cl, byte [ebx + eax]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + ecx]
mov ecx, dword [esp + 0x1c]
sub ebx, ecx
lea ecx, [ebx*8]
sub ecx, ebx
mov ebx, dword [esp + 0x10]
lea ebx, [ebx + ebx*2]
add ecx, ebx
lea ebx, [esi + esi*2]
shl ebx, 3
sub ebx, esi
add ecx, ebx
mov ebx, dword [esp + 0x20]
sub ecx, ebx
add ecx, edi
sar ecx, 5
jns 0x100571e3
xor ecx, ecx
jmp 0x100571f0
cmp ecx, 0xff
jle 0x100571f0
mov ecx, 0xff
mov byte [ebp], cl
mov ecx, dword [esp + 0x10]
add ecx, ecx
mov dword [esp + 0x6c], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x6c]
sub ecx, ebx
mov ebx, dword [esp + 0x38]
sub ecx, ebx
lea ebx, [ecx + ecx*2]
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
lea ebx, [ebx + ecx*4]
lea ecx, [esi + esi*8]
lea ecx, [esi + ecx*2]
add ebx, ecx
mov ecx, dword [esp + 0x80]
sub ebx, ecx
add ebx, edi
sar ebx, 5
jns 0x10057234
xor ebx, ebx
jmp 0x10057241
cmp ebx, 0xff
jle 0x10057241
mov ebx, 0xff
mov ecx, dword [esp + 0x20]
mov byte [edx + ebp], bl
add ecx, esi
mov ebp, dword [esp + 0x1c]
add ecx, ecx
mov ebx, ecx
mov ecx, dword [esp + 0x80]
sub ecx, ebx
lea ebx, [ecx + ecx*2]
mov ecx, dword [esp + 0x10]
add ecx, ebp
mov ebp, dword [esp + 0x38]
lea ecx, [ecx + ecx*4]
lea ecx, [ebp + ecx*2]
lea ebp, [ebx + ecx*2]
mov ecx, dword [esp + 0x24]
sub ebp, ecx
add ebp, edi
sar ebp, 5
jns 0x10057283
xor ebx, ebx
jmp 0x10057292
cmp ebp, 0xff
mov ebx, 0xff
jg 0x10057292
mov ebx, ebp
mov ebp, dword [esp + 0x74]
mov byte [ebp + edx*2], bl
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x1c]
add ebx, ebp
mov ebp, dword [esp + 0x10]
add ebx, ebx
sub ecx, ebx
add ecx, esi
lea ebx, [ecx + ecx*2]
mov ecx, dword [esp + 0x20]
add ecx, ebp
lea ecx, [ecx + ecx*4]
lea ebp, [ebx + ecx*4]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
sub ebp, ebx
sub ebp, ecx
add ebp, edi
sar ebp, 5
jns 0x100572d7
xor ecx, ecx
jmp 0x100572e6
cmp ebp, 0xff
mov ecx, 0xff
jg 0x100572e6
mov ecx, ebp
mov ebp, dword [esp + 0x74]
lea ebx, [edx + edx*2]
mov byte [ebx + ebp], cl
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
add ecx, ebx
add ecx, ecx
mov ebx, ecx
mov ecx, dword [esp + 0x7c]
sub ecx, ebx
mov ebx, dword [esp + 0x1c]
add ecx, ebx
mov ebx, dword [esp + 0x20]
lea ebp, [ecx + ecx*2]
mov ecx, dword [esp + 0x80]
add ecx, ebx
lea ecx, [ecx + ecx*4]
lea ebp, [ebp + ecx*4]
mov ecx, dword [esp + 0x78]
sub ebp, ecx
sub ebp, esi
add ebp, edi
sar ebp, 5
jns 0x10057334
xor ecx, ecx
jmp 0x10057343
cmp ebp, 0xff
mov ecx, 0xff
jg 0x10057343
mov ecx, ebp
mov ebp, dword [esp + 0x74]
mov byte [ebp + edx*4], cl
mov ecx, dword [esp + 0x7c]
add ecx, ebx
mov ebx, dword [esp + 0x24]
add ecx, ecx
mov esi, ecx
mov ecx, dword [esp + 0x78]
sub ecx, esi
mov esi, dword [esp + 0x10]
add ecx, esi
lea esi, [ecx + ecx*2]
mov ecx, dword [esp + 0x80]
add ecx, ebx
lea ecx, [ecx + ecx*4]
lea esi, [esi + ecx*4]
mov ecx, dword [esp + 0x28]
sub esi, ecx
mov ecx, dword [esp + 0x1c]
sub esi, ecx
add esi, edi
sar esi, 5
jns 0x1005738e
xor ecx, ecx
jmp 0x1005739d
cmp esi, 0xff
mov ecx, 0xff
jg 0x1005739d
mov ecx, esi
lea esi, [edx + edx*4]
mov byte [esi + ebp], cl
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x80]
add ecx, esi
add ecx, ecx
mov esi, ecx
mov ecx, dword [esp + 0x28]
sub ecx, esi
mov esi, dword [esp + 0x20]
add ecx, esi
lea esi, [ecx + ecx*2]
mov ecx, dword [esp + 0x7c]
add ecx, ebx
mov ebx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
lea esi, [esi + ecx*4]
mov ecx, dword [esp + 0x2c]
sub esi, ecx
sub esi, ebx
add esi, edi
sar esi, 5
jns 0x100573e6
xor ebx, ebx
jmp 0x100573f5
cmp esi, 0xff
mov ebx, 0xff
jg 0x100573f5
mov ebx, esi
mov esi, dword [esp + 0x44]
mov byte [esi + ebp], bl
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add esi, ebx
mov ebx, dword [esp + 0x7c]
add esi, esi
sub ecx, esi
mov esi, dword [esp + 0x80]
add ecx, esi
lea esi, [ecx + ecx*2]
mov ecx, dword [esp + 0x78]
add ecx, ebx
mov ebx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
lea esi, [esi + ecx*4]
mov ecx, dword [esp + 0x30]
sub esi, ecx
sub esi, ebx
add esi, edi
sar esi, 5
jns 0x1005743d
xor ebx, ebx
jmp 0x1005744c
cmp esi, 0xff
mov ebx, 0xff
jg 0x1005744c
mov ebx, esi
mov esi, dword [esp + 0x48]
mov byte [esi + ebp], bl
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x7c]
add esi, ebx
mov ebx, dword [esp + 0x28]
add esi, esi
sub ecx, esi
mov esi, dword [esp + 0x24]
add ecx, esi
lea esi, [ecx + ecx*2]
mov ecx, dword [esp + 0x78]
add ecx, ebx
lea ecx, [ecx + ecx*4]
lea esi, [esi + ecx*4]
mov ecx, dword [esp + 0x18]
sub esi, ecx
mov ecx, dword [esp + 0x80]
sub esi, ecx
add esi, edi
sar esi, 5
jns 0x10057494
xor ecx, ecx
jmp 0x100574a3
cmp esi, 0xff
mov ecx, 0xff
jg 0x100574a3
mov ecx, esi
mov esi, dword [esp + 0x78]
mov byte [ebp + edx*8], cl
mov ecx, dword [esp + 0x30]
add ecx, esi
add ecx, ecx
mov esi, ecx
mov ecx, dword [esp + 0x18]
sub ecx, esi
mov esi, dword [esp + 0x7c]
add ecx, esi
lea esi, [ecx + ecx*2]
mov ecx, dword [esp + 0x2c]
add ecx, ebx
lea ecx, [ecx + ecx*4]
lea esi, [esi + ecx*4]
mov ecx, dword [esp + 0x14]
sub esi, ecx
mov ecx, dword [esp + 0x24]
sub esi, ecx
add esi, edi
sar esi, 5
jns 0x100574e7
xor ecx, ecx
jmp 0x100574f6
cmp esi, 0xff
mov ecx, 0xff
jg 0x100574f6
mov ecx, esi
lea esi, [edx + edx*8]
mov byte [esi + ebp], cl
mov ecx, dword [esp + 0x18]
add ecx, ebx
mov ebx, dword [esp + 0x2c]
add ecx, ecx
mov esi, ecx
mov ecx, dword [esp + 0x14]
sub ecx, esi
mov esi, dword [esp + 0x78]
add ecx, esi
lea esi, [ecx + ecx*2]
mov ecx, dword [esp + 0x30]
add ecx, ebx
lea ecx, [ecx + ecx*4]
lea esi, [esi + ecx*4]
mov ecx, dword [esp + 0x34]
sub esi, ecx
mov ecx, dword [esp + 0x7c]
sub esi, ecx
add esi, edi
sar esi, 5
jns 0x1005753c
xor ecx, ecx
jmp 0x1005754b
cmp esi, 0xff
mov ecx, 0xff
jg 0x1005754b
mov ecx, esi
mov esi, dword [esp + 0x4c]
mov byte [esi + ebp], cl
mov ecx, dword [esp + 0x14]
add ecx, ebx
mov ebx, dword [esp + 0x30]
add ecx, ecx
mov esi, ecx
mov ecx, dword [esp + 0x34]
sub ecx, esi
mov esi, dword [esp + 0x28]
add ecx, esi
lea esi, [ecx + ecx*2]
mov ecx, dword [esp + 0x18]
add ecx, ebx
lea ecx, [ecx + ecx*4]
lea esi, [esi + ecx*4]
mov ecx, dword [esp + 0x3c]
sub esi, ecx
mov ecx, dword [esp + 0x78]
sub esi, ecx
add esi, edi
sar esi, 5
jns 0x10057592
xor ecx, ecx
jmp 0x100575a1
cmp esi, 0xff
mov ecx, 0xff
jg 0x100575a1
mov ecx, esi
mov esi, dword [esp + 0x50]
mov byte [esi + ebp], cl
mov ecx, dword [esp + 0x34]
add ecx, ebx
mov ebx, dword [esp + 0x18]
add ecx, ecx
mov esi, ecx
mov ecx, dword [esp + 0x3c]
sub ecx, esi
mov esi, dword [esp + 0x2c]
add ecx, esi
lea esi, [ecx + ecx*2]
mov ecx, dword [esp + 0x14]
add ecx, ebx
lea ecx, [ecx + ecx*4]
lea esi, [esi + ecx*4]
mov ecx, dword [esp + 0x40]
sub esi, ecx
mov ecx, dword [esp + 0x28]
sub esi, ecx
add esi, edi
sar esi, 5
jns 0x100575e8
xor ecx, ecx
jmp 0x100575f7
cmp esi, 0xff
mov ecx, 0xff
jg 0x100575f7
mov ecx, esi
mov esi, dword [esp + 0x54]
mov byte [esi + ebp], cl
mov ecx, dword [esp + 0x3c]
add ecx, ebx
mov ebx, dword [esp + 0x14]
add ecx, ecx
mov esi, ecx
mov ecx, dword [esp + 0x30]
sub ecx, esi
lea esi, [ecx + ecx*2]
mov ecx, dword [esp + 0x34]
add ecx, ebx
mov ebx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
lea ecx, [ebx + ecx*2]
lea esi, [esi + ecx*2]
mov ecx, dword [esp + 0x2c]
sub esi, ecx
add esi, edi
sar esi, 5
jns 0x10057639
xor ecx, ecx
jmp 0x10057648
cmp esi, 0xff
mov ecx, 0xff
jg 0x10057648
mov ecx, esi
mov esi, dword [esp + 0x58]
mov byte [esi + ebp], cl
mov ecx, dword [esp + 0x14]
add ecx, ecx
mov esi, ecx
mov ecx, dword [esp + 0x18]
sub ecx, esi
sub ecx, ebx
mov ebx, dword [esp + 0x3c]
lea esi, [ecx + ecx*2]
lea ecx, [ebx + ebx*8]
lea ecx, [ebx + ecx*2]
add esi, ecx
mov ecx, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
lea esi, [esi + ecx*4]
mov ecx, dword [esp + 0x30]
sub esi, ecx
add esi, edi
sar esi, 5
jns 0x10057689
xor ecx, ecx
jmp 0x10057698
cmp esi, 0xff
mov ecx, 0xff
jg 0x10057698
mov ecx, esi
mov esi, dword [esp + 0x5c]
mov byte [esi + ebp], cl
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
add ecx, ecx
sub ecx, esi
lea esi, [ecx*8]
sub esi, ecx
lea ecx, [ebx + ebx*2]
shl ecx, 3
sub ecx, ebx
add esi, ecx
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + ecx*2]
add esi, ecx
mov ecx, dword [esp + 0x18]
sub esi, ecx
add esi, edi
sar esi, 5
jns 0x100576d8
xor ecx, ecx
jmp 0x100576e7
cmp esi, 0xff
mov ecx, 0xff
jg 0x100576e7
mov ecx, esi
mov esi, dword [esp + 0x60]
inc ebp
inc eax
mov dword [esp + 0x74], ebp
mov byte [esi + ebp - 1], cl
mov ecx, dword [esp + 0x64]
dec ecx
mov dword [esp + 0x64], ecx
jne 0x100570e3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret