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

Disassembly:
push ebp
mov ebp, edx
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
mov edi, dword [ebx]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], eax
add eax, edx
mov dword [esp + 0x3c], eax
lea ecx, [edi + 8]
cmp edx, 0x100
jbe 0x41d874
cmp edx, 0x200
jbe 0x41dac8
cmp edx, 0x400
jbe 0x41dab6
cmp edx, 0x800
jbe 0x41daa4
cmp edx, 0x1000
jbe 0x41da92
cmp edx, 0x2001
sbb eax, eax
and eax, 0xffffe000
add eax, 0x4000
cmp edx, 0x2001
sbb ebx, ebx
not ebx
add ebx, 0x13
mov dword [esp + 0x1c], ebx
add eax, eax
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], ecx
call sym._memset
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
movzx ecx, byte [esp + 0x1c]
lea eax, [edi - 0xf]
mov dword [esp + 0x4c], ebx
lea edx, [ebx + 1]
mov dword [esp + 0x38], eax
imul eax, dword [ebp + ebx + 9], 0x1e35a7bd
mov word [esp + 0x4a], bx
lea ebx, [edi - 8]
mov dword [esp + 0x18], ebx
shr eax, cl
mov ebx, 0x20
mov dword [esp + 0x20], ebx
jmp 0x41d821
imul esi, dword [ebp + edx + 8], 0x1e35a7bd
movzx ecx, byte [esp + 0x1c]
mov edi, dword [esp + 0x24]
shr esi, cl
mov dword [esp + 0x28], esi
mov esi, dword [edi]
mov edi, dword [esp + 0x34]
movzx ecx, word [esi + eax*2 + 8]
mov dword [esp + 0x30], esi
mov esi, ebx
sub esi, edi
add ecx, edi
mov edi, esi
mov esi, dword [esp + 0x30]
mov word [esi + eax*2 + 8], di
mov eax, dword [ebp + ecx + 8]
cmp dword [ebp + ebx + 8], eax
je 0x41d8c0
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov ecx, ebx
add ebx, 1
shr ecx, 5
mov dword [esp + 0x20], ebx
mov ebx, edx
lea edx, [edx + ecx]
cmp dword [esp + 0x38], edx
jae 0x41d7d8
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
cmp ebx, eax
jae 0x41d8b1
sub eax, ebx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, ebp
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp sym._emitLiteral__OOZOOZOOZOOZOOZOOZOOZOOZOOZOnimbleZpkgsZsupersnappy4550O49O51Zsupersnappy_161_24
mov dword [edi + 8], 0
add edi, 0xc
xor eax, eax
mov dword [ecx + 0x1fc], 0
and edi, 0xfffffffc
sub ecx, edi
add ecx, 0x200
shr ecx, 2
rep stosd dword es:[edi], eax
cmp edx, 0xe
ja 0x41da85
mov ebx, dword [esp + 0x3c]
cmp dword [esp + 0x34], ebx
jb 0x41da65
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 0x30], ebx
mov eax, ebx
mov ebx, dword [esp + 0x4c]
mov edx, ebp
mov dword [esp + 0xc], 1
sub eax, ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], eax
call sym._emitLiteral__OOZOOZOOZOOZOOZOOZOOZOOZOOZOnimbleZpkgsZsupersnappy4550O49O51Zsupersnappy_161_24
sub esp, 0x10
lea esi, [esi]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x20]
xor esi, esi
sub ebx, edi
lea eax, [edi + 4]
add ebx, ebp
cmp eax, dword [esp + 0x18]
jbe 0x41d925
jmp 0x41da10
add esi, 8
cmp eax, dword [esp + 0x18]
ja 0x41da10
add eax, 8
mov edx, dword [ebx + eax + 4]
xor edx, dword [ebp + eax + 4]
mov ecx, dword [ebx + eax]
mov edi, edx
xor ecx, dword [ebp + eax]
or edi, ecx
je 0x41d918
mov dword [esp + 4], edx
mov dword [esp], ecx
call dbg.__ctzdi2
shr eax, 3
lea edx, [eax + esi]
mov esi, dword [esp + 0x30]
add edx, 4
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov eax, esi
sub eax, dword [esp + 0x20]
add esi, edx
mov edx, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 0x30], esi
call sym._emitCopy__OOZOOZOOZOOZOOZOOZOOZOOZOOZOnimbleZpkgsZsupersnappy4550O49O51Zsupersnappy_311_16
sub esp, 8
cmp dword [esp + 0x38], esi
jbe 0x41da4b
mov eax, dword [ebp + esi + 7]
mov edx, dword [ebp + esi + 0xb]
mov ebx, dword [ebp + esi + 8]
mov edi, dword [esp + 0x24]
movzx ecx, byte [esp + 0x1c]
sub si, word [esp + 0x4a]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
imul eax, ebx, 0x1e35a7bd
mov edi, dword [edi]
imul edx, dword [esp + 0x28], 0x1e35a7bd
shr eax, cl
shr edx, cl
lea ecx, [esi - 1]
mov word [edi + edx*2 + 8], cx
mov edi, dword [esp + 0x24]
mov edx, dword [edi]
movzx ecx, word [edx + eax*2 + 8]
add ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + ecx + 8]
mov word [edx + eax*2 + 8], si
cmp ebx, ecx
je 0x41d8f8
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
movzx ecx, byte [esp + 0x1c]
shrd eax, edx, 0x10
imul eax, eax, 0x1e35a7bd
mov dword [esp + 0x4c], ebx
lea edx, [ebx + 1]
shr eax, cl
jmp 0x41d7ca
cmp dword [esp + 0x3c], eax
jbe 0x41da7e
mov ebx, dword [esp + 0x3c]
mov edx, esi
lea ecx, [ebx + esi]
mov ebx, dword [esp + 0x20]
sub ecx, eax
sub eax, esi
add ebx, ebp
add eax, ebp
mov edi, ecx
jmp 0x41da3b
add edx, 1
cmp edx, edi
je 0x41d94f
movzx ecx, byte [edx + ebx + 0xc]
cmp byte [edx + eax + 8], cl
je 0x41da30
jmp 0x41d94f
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x30]
cmp eax, ebx
ja 0x41d848
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [esp + 0x34]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], eax
jmp 0x41d85a
mov edx, esi
jmp 0x41d94f
mov dword [esp + 0x1c], 0x18
jmp 0x41d799
mov dword [esp + 0x1c], 0x14
mov eax, 0x1000
jmp 0x41d783
mov dword [esp + 0x1c], 0x15
mov eax, 0x800
jmp 0x41d783
mov dword [esp + 0x1c], 0x16
mov eax, 0x400
jmp 0x41d783
mov dword [esp + 0x1c], 0x17
mov eax, 0x200
jmp 0x41d783