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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edx, dword [esp + 0x80]
mov al, 0x10
sub al, byte [esp + 0x84]
movzx esi, al
lea eax, [edx + edx*2]
add eax, eax
mov dword [esp + 0x4c], eax
lea eax, [edx*8]
sub eax, edx
mov dword [esp + 0x50], eax
lea eax, [edx + edx*4]
add eax, eax
mov dword [esp + 0x54], eax
mov eax, edx
imul eax, eax, 0xb
mov dword [esp + 0x58], eax
lea eax, [edx + edx*2]
add eax, eax
add eax, eax
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0x78]
mov eax, edx
imul eax, eax, 0xd
mov dword [esp + 0x60], eax
mov eax, edx
shl eax, 4
sub eax, edx
lea edi, [edx*8]
mov dword [esp + 0x68], eax
sub edi, edx
add edi, edi
mov eax, edx
shl eax, 4
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], 0x11
jmp 0x10041d94
mov edi, dword [esp + 0x64]
movzx ecx, byte [eax]
mov dword [esp + 0x40], ecx
movzx ecx, byte [eax + edx]
mov dword [esp + 0x3c], ecx
movzx ecx, byte [eax + edx*2]
mov dword [esp + 0x28], ecx
lea ecx, [edx + edx*2]
movzx ebp, byte [ecx + eax]
movzx ecx, byte [eax + edx*4]
mov dword [esp + 0x1c], ecx
lea ecx, [edx + edx*4]
movzx ecx, byte [ecx + eax]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x4c]
movzx ecx, byte [ecx + eax]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x50]
movzx ecx, byte [ecx + eax]
mov dword [esp + 0x10], ecx
movzx ecx, byte [eax + edx*8]
mov dword [esp + 0x24], ecx
lea ecx, [edx + edx*8]
movzx ecx, byte [ecx + eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x54]
movzx ecx, byte [ecx + eax]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x58]
movzx ecx, byte [ecx + eax]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x5c]
movzx ecx, byte [ecx + eax]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x60]
movzx ecx, byte [ecx + eax]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edi + eax]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x68]
movzx ecx, byte [ecx + eax]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x70]
movzx ecx, byte [ecx + eax]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x40]
lea edi, [ecx + ecx]
sub edi, dword [esp + 0x28]
lea ecx, [edi*8]
sub ecx, edi
lea edi, [ebp + ebp*2]
add ecx, edi
mov edi, dword [esp + 0x3c]
imul edi, edi, 0x17
add ecx, edi
sub ecx, dword [esp + 0x1c]
add ecx, esi
sar ecx, 5
test ecx, ecx
jge 0x10041e77
xor ecx, ecx
jmp 0x10041e84
cmp ecx, 0xff
jle 0x10041e84
mov ecx, 0xff
mov byte [ebx], cl
lea ecx, [ebp + ebp]
mov edi, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, edi
sub ecx, dword [esp + 0x40]
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x28]
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
mov ecx, dword [esp + 0x3c]
imul ecx, ecx, 0x13
add edi, ecx
sub edi, dword [esp + 0x84]
add edi, esi
sar edi, 5
test edi, edi
jge 0x10041ec0
xor ecx, ecx
jmp 0x10041ecf
cmp edi, 0xff
mov ecx, 0xff
jg 0x10041ecf
mov ecx, edi
mov edi, dword [esp + 0x3c]
mov byte [ebx + edx], cl
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
add ecx, edi
add ecx, ecx
mov edi, ecx
mov ecx, dword [esp + 0x84]
sub ecx, edi
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x28]
add ecx, ebp
lea ecx, [ecx + ecx*4]
lea ecx, [ebx + ecx*2]
mov ebx, dword [esp + 0x20]
lea edi, [edi + ecx*2]
sub edi, ebx
add edi, esi
sar edi, 5
test edi, edi
jge 0x10041f12
xor ecx, ecx
jmp 0x10041f21
cmp edi, 0xff
mov ecx, 0xff
jg 0x10041f21
mov ecx, edi
mov edi, dword [esp + 0x78]
mov byte [edi + edx*2], cl
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x84]
add ecx, edi
add ecx, ecx
mov edi, ecx
mov ecx, ebx
sub ecx, edi
add ecx, dword [esp + 0x3c]
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x1c]
add ecx, ebp
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
sub edi, dword [esp + 0x10]
sub edi, dword [esp + 0x40]
add edi, esi
sar edi, 5
test edi, edi
jge 0x10041f65
xor ecx, ecx
jmp 0x10041f74
cmp edi, 0xff
mov ecx, 0xff
jg 0x10041f74
mov ecx, edi
mov ebx, dword [esp + 0x78]
lea edi, [edx + edx*2]
mov byte [edi + ebx], cl
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
add ecx, ebp
add ecx, ecx
mov edi, ecx
mov ecx, dword [esp + 0x10]
sub ecx, edi
add ecx, dword [esp + 0x28]
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x84]
add ecx, ebx
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
sub edi, dword [esp + 0x24]
sub edi, dword [esp + 0x3c]
add edi, esi
sar edi, 5
test edi, edi
jge 0x10041fbd
xor ecx, ecx
jmp 0x10041fcc
cmp edi, 0xff
mov ecx, 0xff
jg 0x10041fcc
mov ecx, edi
mov edi, dword [esp + 0x78]
mov byte [edi + edx*4], cl
mov ecx, dword [esp + 0x10]
add ecx, ebx
mov ebx, dword [esp + 0x84]
add ecx, ecx
mov edi, ecx
mov ecx, dword [esp + 0x24]
sub ecx, edi
add ecx, ebp
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x20]
add ecx, ebx
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
sub edi, dword [esp + 0x14]
sub edi, dword [esp + 0x28]
add edi, esi
sar edi, 5
test edi, edi
jge 0x10042010
xor ecx, ecx
jmp 0x1004201f
cmp edi, 0xff
mov ecx, 0xff
jg 0x1004201f
mov ecx, edi
mov ebx, dword [esp + 0x78]
lea edi, [edx + edx*4]
mov byte [edi + ebx], cl
mov edi, dword [esp + 0x84]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
add ecx, edi
add ecx, ecx
mov edi, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
add ecx, dword [esp + 0x1c]
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x10]
add ecx, ebx
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
sub edi, dword [esp + 0x18]
sub edi, ebp
add edi, esi
sar edi, 5
test edi, edi
jge 0x1004206a
xor ecx, ecx
jmp 0x10042079
cmp edi, 0xff
mov ecx, 0xff
jg 0x10042079
mov ecx, edi
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x78]
mov byte [edi + ebx], cl
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
add ecx, edi
add ecx, ecx
mov edi, ecx
mov ecx, dword [esp + 0x18]
sub ecx, edi
add ecx, dword [esp + 0x84]
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x10]
add ecx, ebp
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
sub edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x1c]
add edi, esi
sar edi, 5
test edi, edi
jge 0x100420c7
xor ecx, ecx
jmp 0x100420d6
cmp edi, 0xff
mov ecx, 0xff
jg 0x100420d6
mov ecx, edi
mov edi, dword [esp + 0x50]
mov byte [edi + ebx], cl
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add ecx, edi
add ecx, ecx
mov edi, ecx
mov ecx, dword [esp + 0x2c]
sub ecx, edi
add ecx, dword [esp + 0x20]
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x14]
add ecx, ebp
mov ebp, dword [esp + 0x38]
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
sub edi, ebp
sub edi, dword [esp + 0x84]
add edi, esi
sar edi, 5
test edi, edi
jge 0x1004211e
xor ecx, ecx
jmp 0x1004212d
cmp edi, 0xff
mov ecx, 0xff
jg 0x1004212d
mov ecx, edi
mov edi, dword [esp + 0x24]
mov byte [ebx + edx*8], cl
mov ecx, dword [esp + 0x2c]
add ecx, edi
add ecx, ecx
mov edi, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x14]
sub ecx, edi
add ecx, dword [esp + 0x10]
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x18]
add ecx, ebp
mov ebp, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
sub edi, ebp
sub edi, dword [esp + 0x20]
add edi, esi
sar edi, 5
test edi, edi
jge 0x10042170
xor ecx, ecx
jmp 0x1004217f
cmp edi, 0xff
mov ecx, 0xff
jg 0x1004217f
mov ecx, edi
lea edi, [edx + edx*8]
mov byte [edi + ebx], cl
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
add ecx, edi
add ecx, ecx
mov edi, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x2c]
sub ecx, edi
add ecx, dword [esp + 0x24]
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x18]
add ecx, ebp
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
sub edi, dword [esp + 0x30]
sub edi, dword [esp + 0x10]
add edi, esi
sar edi, 5
test edi, edi
jge 0x100421c3
xor ecx, ecx
jmp 0x100421d2
cmp edi, 0xff
mov ecx, 0xff
jg 0x100421d2
mov ecx, edi
mov edi, dword [esp + 0x54]
mov byte [edi + ebx], cl
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
add ecx, edi
add ecx, ecx
mov edi, ecx
mov ecx, dword [esp + 0x30]
sub ecx, edi
add ecx, dword [esp + 0x14]
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x38]
add ecx, ebp
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
sub edi, dword [esp + 0x44]
sub edi, dword [esp + 0x24]
add edi, esi
sar edi, 5
test edi, edi
jge 0x10042215
xor ecx, ecx
jmp 0x10042224
cmp edi, 0xff
mov ecx, 0xff
jg 0x10042224
mov ecx, edi
mov edi, dword [esp + 0x58]
mov byte [edi + ebx], cl
mov ecx, dword [esp + 0x30]
add ecx, ebp
mov ebp, dword [esp + 0x38]
add ecx, ecx
mov edi, ecx
mov ecx, dword [esp + 0x44]
sub ecx, edi
add ecx, dword [esp + 0x18]
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x34]
add ecx, ebp
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
sub edi, dword [esp + 0x48]
sub edi, dword [esp + 0x14]
add edi, esi
sar edi, 5
test edi, edi
jge 0x10042267
xor ecx, ecx
jmp 0x10042276
cmp edi, 0xff
mov ecx, 0xff
jg 0x10042276
mov ecx, edi
mov edi, dword [esp + 0x5c]
mov byte [edi + ebx], cl
mov ecx, dword [esp + 0x44]
add ecx, ebp
mov ebp, dword [esp + 0x34]
add ecx, ecx
mov edi, ecx
mov ecx, dword [esp + 0x2c]
sub ecx, edi
lea edi, [ecx + ecx*2]
mov ecx, dword [esp + 0x30]
add ecx, ebp
mov ebp, dword [esp + 0x48]
lea ecx, [ecx + ecx*4]
lea ecx, [ebp + ecx*2]
lea edi, [edi + ecx*2]
sub edi, dword [esp + 0x18]
add edi, esi
sar edi, 5
test edi, edi
jge 0x100422b9
xor ecx, ecx
jmp 0x100422c8
cmp edi, 0xff
mov ecx, 0xff
jg 0x100422c8
mov ecx, edi
mov edi, dword [esp + 0x60]
mov byte [edi + ebx], cl
mov ecx, dword [esp + 0x34]
add ecx, ecx
mov edi, ecx
mov ecx, dword [esp + 0x38]
sub ecx, edi
sub ecx, ebp
mov ebp, dword [esp + 0x44]
lea edi, [ecx + ecx*2]
mov ecx, ebp
imul ecx, ecx, 0x13
add edi, ecx
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*4]
sub edi, dword [esp + 0x2c]
add edi, esi
sar edi, 5
test edi, edi
jge 0x10042308
xor ecx, ecx
jmp 0x10042317
cmp edi, 0xff
mov ecx, 0xff
jg 0x10042317
mov ecx, edi
mov edi, dword [esp + 0x64]
imul ebp, ebp, 0x17
mov byte [edi + ebx], cl
mov ecx, dword [esp + 0x48]
add ecx, ecx
sub ecx, dword [esp + 0x30]
lea edi, [ecx*8]
sub edi, ecx
mov ecx, dword [esp + 0x34]
add edi, ebp
lea ecx, [ecx + ecx*2]
add edi, ecx
sub edi, dword [esp + 0x38]
add edi, esi
sar edi, 5
test edi, edi
jge 0x10042350
xor ecx, ecx
jmp 0x1004235f
cmp edi, 0xff
mov ecx, 0xff
jg 0x1004235f
mov ecx, edi
mov edi, dword [esp + 0x68]
mov byte [edi + ebx], cl
inc ebx
inc eax
sub dword [esp + 0x6c], 1
mov dword [esp + 0x78], ebx
jne 0x10041d90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret